:root {
  --primary: #0a3d6b;
  --primary-dark: #062a4a;
  --primary-light: #1a5a9e;
  --accent: #00a8e8;
  --accent-hover: #0090c8;
  --text: #1a1a2e;
  --text-muted: #5a6270;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(10, 61, 107, 0.1);
  --radius: 8px;
  --header-h: 72px;
}

*,
*::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);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-item:hover > .nav-link {
  color: var(--primary);
  background: var(--bg-alt);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}

.dropdown a:hover {
  color: var(--primary);
  background: var(--bg-alt);
}

.header-cta {
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}

.header-cta:hover {
  background: var(--primary-light);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Banner */
.hero {
  margin-top: var(--header-h);
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 42, 74, 0.92) 0%, rgba(10, 61, 107, 0.75) 60%, rgba(0, 168, 232, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 168, 232, 0.25);
  border: 1px solid rgba(0, 168, 232, 0.5);
  border-radius: 20px;
  color: #7dd3fc;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.hero-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Section common */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Solution cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Service list */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow 0.25s;
}

.service-item:hover {
  box-shadow: var(--shadow);
}

.service-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.case-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.case-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 2.5rem;
}

.case-body {
  padding: 20px;
}

.case-category {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.case-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.case-customer {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Client logos */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.client-logo {
  width: 140px;
  height: 56px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.client-logo:hover {
  border-color: var(--accent);
  color: var(--primary);
}

/* Notice */
.notice-board {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.notice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item:hover {
  background: var(--bg-alt);
}

.notice-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  flex: 1;
  padding-right: 16px;
}

.notice-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.notice-badge {
  display: inline-block;
  padding: 2px 8px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  margin-right: 8px;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  padding: 64px 0;
  text-align: center;
}

.cta-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Placeholder page */
.page-hero {
  margin-top: var(--header-h);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 48px 0;
  color: #fff;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: #fff;
}

.page-content {
  padding: 64px 0;
  min-height: 400px;
}

.coming-soon {
  text-align: center;
  padding: 80px 24px;
}

.coming-soon-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}

.coming-soon h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.coming-soon p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--primary-light);
}

/* Sub pages */
.sub-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.sidebar {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 24px 0;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.sidebar-link {
  display: block;
  padding: 11px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--primary);
  background: #fff;
  font-weight: 600;
}

.sub-content { min-width: 0; }

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.sub-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 32px 0 16px;
}

.sub-heading:first-child { margin-top: 0; }

/* CEO */
.ceo-section {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.ceo-photo {
  flex-shrink: 0;
  width: 160px;
  height: 200px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border: 1px solid var(--border);
}

.ceo-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.ceo-info h2 span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 8px;
}

.ceo-info p {
  margin-bottom: 14px;
  color: var(--text);
  line-height: 1.8;
}

.ceo-sign {
  margin-top: 24px;
  font-weight: 600;
  color: var(--primary);
}

/* Tables */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.info-table th,
.info-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.95rem;
}

.info-table th {
  width: 160px;
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--primary);
}

.vision-box {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.vision-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Timeline */
.timeline { position: relative; padding-left: 24px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding-left: 24px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-year {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-item ul li {
  list-style: disc;
  margin-left: 18px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* Org chart */
.org-chart { text-align: center; }

.org-ceo {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  margin-bottom: 32px;
}

.org-depts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.org-dept {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border);
}

.org-dept h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.org-dept ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 3px 0;
}

/* Partners */
.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.badge {
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.partner-item {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
}

.map-placeholder { margin-top: 24px; }

/* Detail pages */
.detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.detail-icon { font-size: 3rem; }

.detail-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.detail-section {
  margin-bottom: 28px;
}

.detail-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.feature-list li,
.effect-list li,
.numbered-list li {
  list-style: none;
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-muted);
}

.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.effect-list li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }

.detail-cta { margin-top: 32px; }

.steps { display: flex; flex-wrap: wrap; gap: 12px; }

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.policy-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: #eff6ff;
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 0.9rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: box-shadow 0.2s;
}

.plan-card:hover { box-shadow: var(--shadow); }

.plan-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.plan-sla {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.plan-card ul li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 4px 0;
  list-style: none;
}

.plan-card ul li::before { content: '· '; color: var(--accent); }

.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.channel-card {
  padding: 24px;
  background: var(--bg-alt);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.channel-icon { font-size: 2rem; display: block; margin-bottom: 10px; }

.channel-card h4 {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.channel-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Cases list */
.search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
}

.search-btn {
  padding: 11px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-tab {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.15s;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.case-list { display: flex; flex-direction: column; gap: 12px; }

.case-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.case-list-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.case-list-icon { font-size: 2rem; flex-shrink: 0; }

.case-list-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 4px 0;
}

.case-list-item p { font-size: 0.85rem; color: var(--text-muted); }

.case-arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  padding: 6px 14px;
  background: var(--bg-alt);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.btn-outline {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Board */
.board-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--primary);
}

.board-table th,
.board-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-align: center;
}

.board-table th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--primary);
}

.board-table td:nth-child(2) { text-align: left; }

.board-table a { color: var(--text); }
.board-table a:hover { color: var(--primary); }

.board-detail h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.board-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.board-body {
  line-height: 1.8;
  color: var(--text);
  min-height: 200px;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #fff;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
}

.faq-cat {
  flex-shrink: 0;
  padding: 2px 10px;
  background: var(--bg-alt);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.faq-toggle {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-a {
  display: none;
  padding: 0 20px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

.note-text {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.empty-msg {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

/* Forms */
.contact-form {
  max-width: 600px;
  margin-top: 8px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.required { color: #dc2626; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn-primary {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  margin-top: 8px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-alt);
  border-radius: 12px;
}

.form-success-icon { font-size: 3rem; margin-bottom: 16px; }

.form-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.form-success p { color: var(--text-muted); line-height: 1.7; }

.remote-info .remote-card {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.remote-info .remote-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.numbered-list { counter-reset: num; }

.numbered-list li {
  counter-increment: num;
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--text-muted);
}

.numbered-list li::before {
  content: counter(num);
  position: absolute;
  left: 0;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-item .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero {
    height: 420px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .sub-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 16px;
  }

  .sidebar-title {
    width: 100%;
    padding: 0 0 12px;
  }

  .sidebar-link {
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-size: 0.82rem;
  }

  .sidebar-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  .ceo-section { flex-direction: column; align-items: center; text-align: center; }

  .plan-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }
}

/* Popup */
.site-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.site-popup {
  background: #fff;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.site-popup-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  color: #fff;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-popup-header h3 { font-size: 1.1rem; font-weight: 700; }

.site-popup-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.site-popup-body {
  padding: 24px;
  line-height: 1.7;
  white-space: pre-line;
}

.site-popup-footer {
  padding: 0 24px 20px;
  display: flex;
  gap: 8px;
}

.site-popup-footer button,
.site-popup-footer a {
  flex: 1;
  text-align: center;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.popup-btn-primary { background: var(--primary); color: #fff; border: none; }
.popup-btn-secondary { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }

.footer-admin-link {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
}

.footer-admin-link:hover { color: rgba(255, 255, 255, 0.6); }
