/* ═══════════════════════════════════════════════════════
   (주)브레인듀드 — braindude.com
   건강·보험·금융 통합 플랫폼 웹사이트
   ═══════════════════════════════════════════════════════ */

/* ── 변수 ────────────────────────────────────────────── */
:root {
  --blue:       #4A90D9;
  --blue-dark:  #1F4E79;
  --blue-light: #E8F4FD;
  --orange:     #F5A623;
  --orange-light: #FFF3E0;
  --green:      #7ED321;
  --green-dark: #5DA018;
  --green-light: #F0F9E8;
  --purple:     #9B59B6;
  --purple-light: #F3E8F9;
  --gray-900:   #1A1A2E;
  --gray-800:   #2D2D44;
  --gray-700:   #4A4A5A;
  --gray-500:   #7A7A8A;
  --gray-300:   #C8C8D4;
  --gray-100:   #F4F5F7;
  --white:      #FFFFFF;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 64px rgba(0,0,0,0.16);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── 공통 ────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── 버튼 ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,144,217,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--blue-dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* ── 네비게이션 ──────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 80px;
  transition: var(--transition);
  filter: brightness(0) invert(1);
}
.navbar.scrolled .nav-logo-img {
  height: 56px;
  filter: none;
}

.nav-menu {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.navbar.scrolled .nav-link {
  color: var(--gray-700);
}
.navbar.scrolled .nav-link:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.nav-demo {
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  color: #fff !important;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 18px;
}
.nav-demo:hover {
  background: linear-gradient(135deg, #1D4ED8, #6D28D9);
  color: #fff !important;
}
.navbar.scrolled .nav-demo {
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .nav-toggle span {
  background: var(--gray-900);
}

/* ── 히어로 ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f1b3d 0%, #1a3a6e 30%, #1F4E79 60%, #2d6a9f 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(74,144,217,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,166,35,0.1) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(126,211,33,0.08) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 24px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, #6BB9F0 0%, #F5A623 50%, #7ED321 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 72px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}
.stat-suffix {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--orange);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 1px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 2px;
  animation: scrollBounce 2s infinite;
}
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
}

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

/* ── 파트너 & 보험사 ────────────────────────────────── */
.partners {
  padding: 48px 0;
  background: var(--gray-100);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  overflow: hidden;
}

.partners-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.partners-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-slide {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: partnerScroll 30s linear infinite;
  width: max-content;
}

.partner-logo {
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-300);
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  cursor: default;
}
.partner-logo:hover {
  color: var(--gray-700);
}

.featured-partner {
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.featured-partner:hover {
  color: var(--blue-dark);
}

.partner-logo-img {
  height: 24px;
  width: auto;
  display: inline-block;
}

@keyframes partnerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 회사소개 ────────────────────────────────────────── */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.about-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.about-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.about-icon.orange { background: var(--orange-light); color: var(--orange); }
.about-icon.green  { background: var(--green-light);  color: var(--green-dark); }

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

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.company-info {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.info-row {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.info-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.info-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
}

/* ── 서비스 ──────────────────────────────────────────── */
.services {
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.service-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.service-card.featured::before {
  content: 'MAIN';
  position: absolute;
  top: 20px;
  right: -28px;
  background: var(--blue);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 36px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.service-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 16px;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.service-icon-wrap.blue   { background: var(--blue-light);   color: var(--blue); }
.service-icon-wrap.orange { background: var(--orange-light); color: var(--orange); }
.service-icon-wrap.green  { background: var(--green-light);  color: var(--green-dark); }

.service-icon-wrap svg { width: 32px; height: 32px; }

.service-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.service-tagline {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 24px;
  flex-grow: 1;
}
.service-features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}
.service-card:nth-child(2) .service-features li::before { background: var(--orange); }
.service-card:nth-child(3) .service-features li::before { background: var(--green); }

.service-target {
  padding: 12px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--gray-700);
}

.target-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 6px;
}

/* ── 기술 ────────────────────────────────────────────── */
.technology { background: var(--white); }

.tech-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.tech-step {
  text-align: center;
  flex: 0 0 180px;
}

.tech-step-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 16px;
}
.tech-step-icon.blue   { background: var(--blue-light);   color: var(--blue); }
.tech-step-icon.orange { background: var(--orange-light); color: var(--orange); }
.tech-step-icon.green  { background: var(--green-light);  color: var(--green-dark); }
.tech-step-icon.purple { background: var(--purple-light); color: var(--purple); }

.tech-step-icon svg { width: 28px; height: 28px; }

.tech-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.tech-step p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.tech-arrow {
  display: flex;
  align-items: center;
  padding-top: 24px;
  color: var(--gray-300);
}
.tech-arrow svg { width: 24px; height: 24px; }

.tech-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.principle-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.principle-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.principle-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
}
.principle-icon svg { width: 28px; height: 28px; }

.principle-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ── 플랫폼 미리보기 ────────────────────────────────── */
.platform-preview { background: var(--gray-100); }

.mockup-browser {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.08);
}

.mockup-toolbar {
  background: var(--gray-900);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}
.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-700);
}
.mockup-dots span:first-child { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:last-child { background: #28c840; }

.mockup-url {
  flex: 1;
  background: var(--gray-800);
  color: var(--gray-500);
  font-size: 0.75rem;
  padding: 6px 16px;
  border-radius: 6px;
  font-family: monospace;
}

.mockup-screen {
  display: flex;
  min-height: 400px;
  background: #f8f9fb;
}

.mockup-sidebar {
  width: 200px;
  background: var(--white);
  border-right: 1px solid var(--gray-100);
  padding: 20px 0;
  flex-shrink: 0;
}

.mockup-nav-item {
  padding: 10px 20px;
  font-size: 0.8rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}
.mockup-nav-item svg { width: 16px; height: 16px; }
.mockup-nav-item.active {
  color: var(--blue);
  font-weight: 600;
  background: var(--blue-light);
  border-right: 3px solid var(--blue);
}

.mockup-main {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mockup-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mockup-stat-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--gray-100);
}

.mockup-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.mockup-stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.mockup-stat-value.blue { color: var(--blue); }
.mockup-stat-value.orange { color: var(--orange); }
.mockup-stat-value.green { color: var(--green-dark); }
.mockup-stat-value small { font-size: 0.8rem; font-weight: 600; }

.mockup-bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}
.mockup-bar-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 3px;
  transition: width 1s ease;
}
.mockup-bar.orange .mockup-bar-fill { background: var(--orange); }
.mockup-bar.green .mockup-bar-fill { background: var(--green); }

.mockup-chart-area {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--gray-100);
}

.mockup-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.mockup-chip {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 100px;
}

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
}

.chart-bar {
  flex: 1;
  background: var(--blue-light);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: background 0.3s;
}
.chart-bar.active { background: var(--blue); }
.chart-bar span {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--gray-500);
}

.mockup-alert-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--gray-700);
}

.alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.alert-dot.red { background: #e74c3c; }
.alert-dot.orange { background: var(--orange); }
.alert-dot.green { background: var(--green); }

/* ── 뉴스 · 인사이트 ──────────────────────────────────── */
.news { background: var(--white); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.news-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.news-badge.blue { background: var(--blue-light); color: var(--blue); }
.news-badge.orange { background: var(--orange-light); color: var(--orange); }
.news-badge.green { background: var(--green-light); color: var(--green-dark); }

.news-date {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.5;
  margin-bottom: 12px;
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: var(--transition);
}
.news-card:hover .news-read-more { color: var(--blue-dark); }

/* ── FAQ ───────────────────────────────────────────────── */
.faq { background: var(--gray-100); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

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

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--blue); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ── 비전/로드맵 ─────────────────────────────────────── */
.vision {
  background: var(--gray-900);
  color: var(--white);
}

.vision .section-tag {
  background: rgba(74,144,217,0.15);
  color: #6BB9F0;
}

.vision .section-title { color: var(--white); }
.vision .section-desc  { color: rgba(255,255,255,0.5); }

.roadmap {
  position: relative;
  max-width: 700px;
  margin: 0 auto 72px;
}

.roadmap-line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--orange), var(--green), var(--purple));
  border-radius: 2px;
}

.roadmap-item {
  position: relative;
  padding-left: 72px;
  padding-bottom: 48px;
}

.roadmap-dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--gray-900);
}
.roadmap-dot.blue   { background: var(--blue); }
.roadmap-dot.orange { background: var(--orange); }
.roadmap-dot.green  { background: var(--green); }
.roadmap-dot.purple { background: var(--purple); }

.roadmap-period {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.roadmap-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.roadmap-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.vision-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.vision-stat {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
}

.vision-stat-value {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.vision-stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.vision-stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

/* ── 문의 ────────────────────────────────────────────── */
.contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.contact-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  margin: 0 auto 16px;
}
.contact-icon svg { width: 24px; height: 24px; }

.contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

.contact-cta {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, var(--blue-light) 0%, #f0e8fd 100%);
  border-radius: var(--radius-xl);
}

.contact-cta h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.contact-cta p {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 32px;
}

/* ── 푸터 ────────────────────────────────────────────── */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.5);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-logo {
  height: 72px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ── 애니메이션 ──────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 파티클 (히어로 배경 점) ─────────────────────────── */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0%   { transform: translateY(0) scale(1);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* ── 반응형 ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .section-title { font-size: 2rem; }
  .hero-title { font-size: 2.5rem; }

  .about-grid,
  .services-grid,
  .tech-principles,
  .contact-grid,
  .news-grid { grid-template-columns: repeat(2, 1fr); }

  .vision-numbers { grid-template-columns: repeat(2, 1fr); }
  .mockup-cards-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  .nav-menu.active { display: flex; }
  .nav-menu.active .nav-link {
    color: var(--gray-700);
    padding: 12px 16px;
  }
  .nav-toggle { display: flex; }

  .hero { min-height: 100svh; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-subtitle br { display: none; }
  .hero-actions { flex-direction: column; gap: 12px; padding: 0 32px; }
  .hero-stats { flex-direction: column; gap: 24px; }

  .section-title { font-size: 1.75rem; }
  .section-desc { font-size: 1rem; }

  .about-grid,
  .services-grid,
  .tech-principles,
  .contact-grid,
  .news-grid,
  .vision-numbers { grid-template-columns: 1fr; }

  .tech-flow { flex-direction: column; align-items: center; }
  .tech-arrow { transform: rotate(90deg); padding: 0; }

  .mockup-sidebar { display: none; }
  .mockup-cards-row { grid-template-columns: 1fr; }

  .info-row { flex-direction: column; gap: 16px; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
