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

:root {
  --bg-dark: #F0EBE0;
  --bg-card: #FFFFFF;
  --bg-card2: #F7F3EC;
  --accent: #0284C7;
  --accent2: #7C3AED;
  --danger: #DC2626;
  --warn: #D97706;
  --safe: #059669;
  --text: #1C1917;
  --text-muted: #78716C;
  --border: rgba(0,0,0,0.10);
  --font: 'Inter', 'Noto Sans KR', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* === NAV === */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(240, 235, 224, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* === LIVE DOT === */
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.live {
  background: var(--safe);
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* === HERO === */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 100px 2rem 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.2rem;
  letter-spacing: -2px;
}
.accent { color: var(--accent); }
.hero-slogan {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 0.6rem;
  line-height: 1.8;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.3);
}

/* === HEATMAP MOCK === */
.hero-right {
  flex: 0 0 400px;
  position: relative;
  z-index: 1;
}
.hero-visual {
  flex: 0 0 360px;
  position: relative;
  z-index: 1;
}
.hero-map-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  border: 1px solid var(--border);
}
#hero-map {
  width: 100%;
  height: 340px;
}
.map-mode-panel {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.5s ease;
  z-index: 1000;
}
.map-mode-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  transition: background 0.5s, box-shadow 0.5s;
  flex-shrink: 0;
}
.map-mode-name {
  font-size: 0.88rem; font-weight: 800;
  letter-spacing: 1px;
  transition: color 0.5s;
}
.map-mode-desc {
  font-size: 0.72rem; color: #78716C;
}
.heatmap-mock {
  background: var(--bg-card);
  border: 1px solid rgba(2,132,199,0.25);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.hm-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.hm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 1rem;
}
.hm-cell {
  height: 56px;
  border-radius: 8px;
  transition: opacity 0.3s;
}
.hm-cell.low    { background: rgba(16,185,129,0.25); }
.hm-cell.mid    { background: rgba(245,158,11,0.35); }
.hm-cell.high   { background: rgba(239,68,68,0.45); }
.hm-cell.danger { background: var(--danger); }

.hm-cell.pulse {
  animation: cellPulse 2.5s ease-in-out infinite;
}
.hm-cell.blink {
  animation: cellBlink 1s ease-in-out infinite;
}
@keyframes cellPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}
@keyframes cellBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px var(--danger); }
  50%       { opacity: 0.4; box-shadow: none; }
}
.hm-alert {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.25);
  color: #DC2626;
  font-size: 0.75rem;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.hm-network {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  gap: 6px;
}
.net-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.net-dot.ok { background: var(--safe); }

/* === SECTIONS === */
.section {
  padding: 100px 0;
}
.section.dark {
  background: #E8E2D6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* === PROBLEM === */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover {
  border-color: rgba(239,68,68,0.4);
  transform: translateY(-4px);
}
.problem-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fca5a5;
}
.problem-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.scenario-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}
.scenario-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.scenario-flow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.flow-step {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 110px;
}
.flow-step.warn  { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.06); }
.flow-step.danger { border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.06); }
.flow-step.critical { border-color: rgba(239,68,68,0.8); background: rgba(239,68,68,0.12); }
.flow-icon { font-size: 1.5rem; }
.flow-label { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
.flow-arrow { color: var(--text-muted); font-size: 1.2rem; flex-shrink: 0; }
.scenario-caption {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

/* === SOLUTION === */
.diff-grid {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.diff-card {
  flex: 1;
  background: var(--bg-card2);
  border-radius: 16px;
  padding: 2rem;
}
.diff-card.competitor { border: 1px solid rgba(239,68,68,0.2); }
.diff-card.ours       { border: 1px solid rgba(0,212,255,0.2); }
.diff-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 1.2rem;
}
.diff-label.bad  { background: rgba(239,68,68,0.15); color: #fca5a5; }
.diff-label.good { background: rgba(0,212,255,0.15); color: var(--accent); }
.diff-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.diff-card li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.diff-vs {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-muted);
  flex-shrink: 0;
}

.arch-box {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}
.arch-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.arch-flow {
  display: flex;
  align-items: center;
  gap: 0;
}
.arch-block {
  flex: 1;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
}
.arch-block.field   { border-color: rgba(245,158,11,0.3); }
.arch-block.platform{ border-color: rgba(124,58,237,0.3); }
.arch-block.control { border-color: rgba(0,212,255,0.3); }
.arch-icon  { font-size: 2rem; margin-bottom: 0.5rem; }
.arch-name  { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.arch-detail{ font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }
.arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 1rem;
  flex-shrink: 0;
}
.arch-arrow span { font-size: 0.65rem; color: var(--text-muted); white-space: nowrap; }
.arch-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  position: relative;
}
.arch-line::after {
  content: '›';
  position: absolute;
  right: -8px;
  top: -9px;
  color: var(--accent);
  font-size: 1.2rem;
}

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: rgba(0,212,255,0.25);
  transform: translateY(-3px);
}
.feature-card.highlight {
  border-color: rgba(0,212,255,0.25);
  background: linear-gradient(135deg, var(--bg-card), rgba(0,212,255,0.04));
}
.feature-card.highlight::before { opacity: 1; }
.feature-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.feature-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.feature-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === TECH STACK === */
.layers {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.layer {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 220px auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.layer-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.layer-icon { font-size: 1.8rem; }
.layer-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.layer-sub  { font-size: 0.75rem; color: var(--text-muted); }
.layer-header.edge    .layer-name { color: var(--safe); }
.layer-header.network .layer-name { color: var(--accent2); }
.layer-header.cloud   .layer-name { color: var(--accent); }
.layer-header.monitor .layer-name { color: var(--warn); }
.layer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.tech-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.layer-desc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.layer-desc li {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.layer-desc li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 2px;
}

/* === GOALS === */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.goal-card {
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.goal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
}
.goal-card.g1 { background: rgba(0,212,255,0.05); }
.goal-card.g1::before { background: var(--accent); }
.goal-card.g2 { background: rgba(16,185,129,0.05); }
.goal-card.g2::before { background: var(--safe); }
.goal-card.g3 { background: rgba(245,158,11,0.05); }
.goal-card.g3::before { background: var(--warn); }
.goal-number {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.goal-keyword {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}
.goal-card.g1 .goal-keyword { color: var(--accent); }
.goal-card.g2 .goal-keyword { color: var(--safe); }
.goal-card.g3 .goal-keyword { color: var(--warn); }
.goal-category {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.goal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.goal-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.goal-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* === SWOT === */
.swot-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}
.swot-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.swot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.swot-card {
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid var(--border);
}
.swot-card.s { background: rgba(0,212,255,0.05);   border-color: rgba(0,212,255,0.2); }
.swot-card.w { background: rgba(239,68,68,0.05);   border-color: rgba(239,68,68,0.2); }
.swot-card.o { background: rgba(16,185,129,0.05);  border-color: rgba(16,185,129,0.2); }
.swot-card.t { background: rgba(245,158,11,0.05);  border-color: rgba(245,158,11,0.2); }
.swot-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.swot-card.s .swot-label { color: var(--accent); }
.swot-card.w .swot-label { color: #fca5a5; }
.swot-card.o .swot-label { color: var(--safe); }
.swot-card.t .swot-label { color: var(--warn); }
.swot-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.swot-card li { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* === TEAM === */
.team-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 150px;
}
.team-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
}
.team-card.leader {
  border-color: rgba(0,212,255,0.3);
  background: linear-gradient(135deg, var(--bg-card), rgba(0,212,255,0.05));
}
.team-avatar { font-size: 2.5rem; margin-bottom: 0.75rem; }
.team-name   { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-role   { font-size: 0.78rem; color: var(--text-muted); }
.team-card.leader .team-role { color: var(--accent); font-weight: 600; }

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  background: #E8E2D6;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-sub  { font-size: 0.8rem; color: var(--text-muted); }
.footer-date { font-size: 0.78rem; color: var(--text-muted); }

/* === OVERVIEW === */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.overview-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.positioning {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.pos-tag {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.pos-tag.competitor { background: rgba(239,68,68,0.1); color: #fca5a5; border: 1px solid rgba(239,68,68,0.2); }
.pos-tag.ours       { background: rgba(0,212,255,0.1); color: var(--accent); border: 1px solid rgba(0,212,255,0.2); }
.pos-vs { color: var(--text-muted); font-weight: 700; }
.overview-points { display: flex; flex-direction: column; gap: 1rem; }
.point-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.point-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.point-icon.safe { background: rgba(16,185,129,0.15); color: var(--safe); }

/* === VPC ARCHITECTURE === */
.vpc-grid {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin-bottom: 2.5rem;
  overflow-x: auto;
}
.vpc-card {
  flex: 1;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  min-width: 240px;
}
.vpc-card.field-vpc  { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.25); }
.vpc-card.normal-vpc { background: rgba(124,58,237,0.05); border-color: rgba(124,58,237,0.25); }
.vpc-card.safety-vpc { background: rgba(0,212,255,0.05);  border-color: rgba(0,212,255,0.25); }
.vpc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1.2rem; flex-wrap: wrap; }
.vpc-badge {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 6px;
}
.field-badge  { background: rgba(245,158,11,0.15); color: var(--warn); }
.normal-badge { background: rgba(124,58,237,0.15); color: #a78bfa; }
.safety-badge { background: rgba(0,212,255,0.15);  color: var(--accent); }
.vpc-role { font-size: 0.78rem; color: var(--text-muted); }
.vpc-subnet { margin-bottom: 1rem; }
.subnet-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 0.5rem; padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.subnet-items { display: flex; flex-wrap: wrap; gap: 6px; }
.aws-component {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.75rem;
  color: var(--text);
  text-align: center;
  line-height: 1.4;
}
.aws-component.highlight-comp {
  border-color: rgba(0,212,255,0.3);
  color: var(--accent);
}
.aws-component small { color: var(--text-muted); font-size: 0.68rem; display: block; }
.vpc-desc { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 4px; }
.desc-item { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }
.vpc-arrow {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; padding: 0 0.75rem;
  flex-shrink: 0;
}
.arrow-label { font-size: 0.65rem; color: var(--text-muted); white-space: nowrap; text-align: center; }
.arrow-line { font-size: 1.5rem; color: var(--accent); }
.arrow-proto { font-size: 0.65rem; color: var(--accent); font-weight: 600; }

.global-services {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}
.global-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.global-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.global-item { display: flex; flex-direction: column; gap: 4px; }
.g-badge {
  font-size: 0.78rem; font-weight: 600;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 8px;
  color: var(--text);
}
.g-desc { font-size: 0.72rem; color: var(--text-muted); padding-left: 4px; }

/* === OPERATION FLOWS === */
.flows-tabs {
  display: flex; gap: 0.5rem;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.flow-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.flow-tab:hover { border-color: rgba(0,212,255,0.3); color: var(--text); }
.flow-tab.active { background: rgba(0,212,255,0.1); border-color: rgba(0,212,255,0.4); color: var(--accent); }
.flow-content { display: none; }
.flow-content.active { display: block; }
.flow-desc-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap;
}
.flow-desc-box p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; flex: 1; min-width: 200px; }
.flow-mode-badge {
  padding: 4px 12px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; white-space: nowrap;
  flex-shrink: 0;
}
.flow-mode-badge.normal   { background: rgba(16,185,129,0.15); color: var(--safe); }
.flow-mode-badge.warn     { background: rgba(245,158,11,0.15); color: var(--warn); }
.flow-mode-badge.danger   { background: rgba(239,68,68,0.15);  color: #fca5a5; }
.flow-mode-badge.recovery { background: rgba(124,58,237,0.15); color: #a78bfa; }
.flow-steps {
  display: flex; align-items: stretch; gap: 0.5rem;
  overflow-x: auto; padding-bottom: 0.5rem;
}
.flow-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  min-width: 170px;
  flex: 1;
  display: flex; flex-direction: column; gap: 8px;
}
.flow-step-card.warn      { border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.05); }
.flow-step-card.danger-step { border-color: rgba(239,68,68,0.3); background: rgba(239,68,68,0.05); }
.step-num {
  font-size: 0.7rem; font-weight: 800;
  color: var(--accent); letter-spacing: 1px;
}
.step-content { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.step-content strong { color: var(--text); display: block; margin-bottom: 4px; }
.step-arrow { display: flex; align-items: center; color: var(--text-muted); font-size: 1.2rem; flex-shrink: 0; }

/* Recovery flow */
.recovery-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 2rem 0; flex-wrap: wrap;
}
.state-box {
  border-radius: 12px; padding: 1.5rem 2rem;
  font-weight: 800; font-size: 1.1rem; text-align: center;
}
.state-box.safety-state   { background: rgba(239,68,68,0.1); border: 2px solid rgba(239,68,68,0.4); color: #fca5a5; }
.state-box.recovery-state { background: rgba(124,58,237,0.1); border: 2px solid rgba(124,58,237,0.4); color: #a78bfa; }
.state-box.normal-state   { background: rgba(16,185,129,0.1); border: 2px solid rgba(16,185,129,0.4); color: var(--safe); }
.state-arrow { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.state-arrow span { font-size: 0.72rem; color: var(--text-muted); text-align: center; }
.sarrow { font-size: 1.5rem; color: var(--text-muted); }
.recovery-detail {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.rd-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 1.25rem;
}
.rd-title { font-size: 0.82rem; font-weight: 700; color: var(--accent); margin-bottom: 0.75rem; }
.rd-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rd-card li { font-size: 0.78rem; color: var(--text-muted); padding-left: 14px; position: relative; line-height: 1.5; }
.rd-card li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); font-size: 0.65rem; top: 2px; }

/* === RISK LEVEL === */
.risk-grid { display: grid; grid-template-columns: auto 1fr; gap: 2rem; margin-bottom: 2rem; align-items: start; }
.risk-levels { display: flex; flex-direction: column; gap: 0.75rem; }
.risk-card {
  border-radius: 12px; padding: 1rem 1.5rem;
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 1rem;
  min-width: 220px;
}
.risk-card.level-0 { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.3); }
.risk-card.level-1 { background: rgba(0,212,255,0.08);  border-color: rgba(0,212,255,0.3); }
.risk-card.level-2 { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.3); }
.risk-card.level-3 { background: rgba(239,68,68,0.08);  border-color: rgba(239,68,68,0.3); }
.risk-level-num {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 1px;
  color: var(--text-muted); white-space: nowrap;
}
.risk-name { font-weight: 800; font-size: 0.95rem; flex: 1; }
.risk-card.level-0 .risk-name { color: var(--safe); }
.risk-card.level-1 .risk-name { color: var(--accent); }
.risk-card.level-2 .risk-name { color: var(--warn); }
.risk-card.level-3 .risk-name { color: #fca5a5; }
.risk-action { font-size: 0.72rem; color: var(--text-muted); }
.risk-logic { display: flex; flex-direction: column; gap: 1rem; }
.logic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 1.25rem;
}
.logic-title { font-size: 0.8rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.logic-timeline { display: flex; flex-direction: column; gap: 6px; }
.tl-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.82rem; color: var(--text-muted);
}
.tl-item.danger-tl { color: #fca5a5; }
.tl-item.warn-tl   { color: var(--warn); }
.tl-item.caution-tl { color: var(--accent); }
.tl-badge {
  font-size: 0.68rem; font-weight: 700;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 8px;
  white-space: nowrap; color: var(--text);
}
.tl-badge.danger-badge  { background: rgba(239,68,68,0.15); color: #fca5a5; border-color: rgba(239,68,68,0.3); }
.tl-badge.warn-badge    { background: rgba(245,158,11,0.15); color: var(--warn); border-color: rgba(245,158,11,0.3); }
.tl-badge.caution-badge { background: rgba(0,212,255,0.15);  color: var(--accent); border-color: rgba(0,212,255,0.3); }
.analysis-note {
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px; padding: 1.2rem 1.5rem;
  font-size: 0.88rem; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 0.75rem;
}
.note-icon { font-size: 1.2rem; flex-shrink: 0; }
.analysis-note strong { color: var(--text); }

/* === SCROLL FADE-IN === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === ARCH TOGGLE === */
.arch-toggle {
  display: flex; gap: 0; margin-bottom: 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 4px; width: fit-content;
}
.arch-toggle-btn {
  padding: 8px 24px; border-radius: 7px;
  font-size: 0.85rem; font-weight: 600;
  border: none; cursor: pointer;
  background: transparent; color: var(--text-muted);
  font-family: var(--font); transition: all 0.2s;
}
.arch-toggle-btn.active {
  background: var(--accent); color: #000;
}
.arch-detail-img-wrap {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
}
.arch-detail-img {
  width: 100%; display: block;
  border-radius: 16px;
}
.arch-upload-hint {
  padding: 3rem; text-align: center;
  background: var(--bg-card); border-radius: 16px;
  color: var(--text-muted); font-size: 0.95rem;
}
.arch-upload-hint a { color: var(--accent); }

/* === PERSONAL INTRO === */
.personal-section { padding: 40px 0 60px; }

/* 동기 블록 */
.motivation-block {
  display: flex; gap: 2rem; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 2.5rem;
  margin-bottom: 2rem; position: relative; overflow: hidden;
}
.motivation-deco {
  font-size: 7rem; line-height: 0.8;
  color: var(--accent); opacity: 0.12;
  font-family: Georgia, serif; font-weight: 900;
  flex-shrink: 0; margin-top: 0.5rem;
  user-select: none;
}
.motivation-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.75rem;
}
.motivation-text {
  font-size: 1rem; color: var(--text-muted);
  line-height: 1.9; margin-bottom: 1.5rem;
}
.motivation-text strong { color: var(--text); font-weight: 700; }
.motivation-flow {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.mf-step {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 14px;
  font-size: 0.82rem; font-weight: 600; color: var(--text);
}
.mf-arrow { color: var(--accent); font-weight: 700; font-size: 0.9rem; }
.mf-badge {
  margin-left: 8px;
  background: rgba(2,132,199,0.1); border: 1px solid rgba(2,132,199,0.25);
  border-radius: 100px; padding: 5px 14px;
  font-size: 0.75rem; font-weight: 700; color: var(--accent);
}

/* 담당 역할 블록 */
.role-block {}
.role-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 1rem;
}
.role-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.role-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  border-top: 3px solid var(--accent);
}
.role-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.role-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.role-name { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; }
.role-card ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.role-card li {
  font-size: 0.78rem; color: var(--text-muted);
  padding-left: 12px; position: relative; line-height: 1.5;
}
.role-card li::before { content: '·'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* === OVERVIEW BACKGROUND === */
.bg-three-col {
  display: flex; align-items: stretch; gap: 0;
  margin-bottom: 3rem; flex-wrap: wrap;
}
.bg-card {
  flex: 1; min-width: 200px;
  border-radius: 16px; padding: 1.75rem;
  border: 1px solid var(--border);
}
.bg-card.problem-bg { background: rgba(239,68,68,0.05); border-color: rgba(239,68,68,0.2); }
.bg-card.limit-bg   { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.2); }
.bg-card.need-bg    { background: rgba(0,212,255,0.05);  border-color: rgba(0,212,255,0.2); }
.bg-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.bg-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
  margin-bottom: 0.75rem; color: var(--text-muted);
}
.bg-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.bg-card li { font-size: 0.85rem; color: var(--text-muted); padding-left: 12px; position: relative; }
.bg-card li::before { content: '·'; position: absolute; left: 0; }
.bg-arrow-v {
  display: flex; align-items: center; justify-content: center;
  padding: 0 0.75rem; font-size: 1.5rem; color: var(--text-muted);
  flex-shrink: 0;
}
.vmv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.vmv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  text-align: center;
}
.vmv-card.accent-vmv { border-color: rgba(0,212,255,0.3); background: rgba(0,212,255,0.04); }
.vmv-title {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 3px;
  color: var(--accent); margin-bottom: 1rem;
}
.vmv-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; }

/* === ARCHITECTURE DIAGRAM V2 (icon-based) === */
.arch-diagram-v2 {
  display: flex;
  flex-direction: row;
  align-items: center;   /* 수직 중앙 정렬 */
  gap: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

/* Horizontal arrow connector */
.adv2-arrow-h {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; flex-shrink: 0; width: 84px;
}
.adv2-hline {
  width: 84px; height: 2px;
  background: linear-gradient(90deg, rgba(0,212,255,0.6), rgba(124,58,237,0.6));
  position: relative;
}
.adv2-hline::after {
  content: '▶'; position: absolute;
  right: -6px; top: -7px;
  font-size: 0.6rem; color: var(--accent);
}
.adv2-arrow-h > span { font-size: 0.58rem; color: var(--text-muted); }
.adv2-proto { font-size: 0.58rem; color: var(--accent); font-weight: 700; }

/* Service badge on arrow */
.adv2-svc-badge {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: var(--bg-card); border: 1px solid rgba(0,212,255,0.3);
  border-radius: 8px; padding: 5px 8px; text-align: center; width: 80px;
}
.adv2-svc-badge img { width: 22px; height: 22px; object-fit: contain; }
.adv2-svc-badge span { font-size: 0.58rem; color: var(--accent); line-height: 1.3; white-space: nowrap; }
.adv2-channel {
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 12px; padding: 1rem 0.75rem;
  background: rgba(255,255,255,0.02);
  min-width: 120px; flex-shrink: 0;
}
.adv2-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.adv2-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted);
  text-align: center; margin-bottom: 0.75rem;
}
.adv2-vpc {
  flex: 1;
  border-radius: 14px; padding: 1rem;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.5rem;
  min-width: 200px;
}
.adv2-vpc.adv2-field  { border-color: rgba(245,158,11,0.35); background: rgba(245,158,11,0.04); }
.adv2-vpc.adv2-normal { border-color: rgba(124,58,237,0.35); background: rgba(124,58,237,0.04); }
.adv2-vpc.adv2-safety { border-color: rgba(0,212,255,0.35);  background: rgba(0,212,255,0.04); }
.adv2-vpc-title {
  font-size: 0.92rem; font-weight: 800; margin-bottom: 4px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.adv2-vpc-title span { font-size: 0.72rem; font-weight: 400; color: var(--text-muted); }
.adv2-subnet {
  background: rgba(0,0,0,0.06); border-radius: 8px;
  padding: 0.6rem 0.75rem; border: 1px solid var(--border);
}
.adv2-subnet-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.adv2-icon-grid {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.adv2-icon-card {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 10px;
  min-width: 72px; text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.adv2-icon-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.adv2-icon-card img { width: 32px; height: 32px; object-fit: contain; }
.adv2-icon-card span { font-size: 0.7rem; color: var(--text); line-height: 1.4; font-weight: 500; }
.adv2-icon-card small { font-size: 0.6rem; color: var(--text-muted); }
.adv2-vpn-note {
  font-size: 0.65rem; color: var(--text-muted);
  padding-top: 6px; border-top: 1px solid var(--border); margin-top: 4px;
}

/* Arrow columns */
.adv2-arrow {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; padding: 0 4px; min-height: 80px;
}
.adv2-aline {
  width: 24px; height: 2px;
  background: linear-gradient(90deg, rgba(0,212,255,0.5), rgba(124,58,237,0.5));
}
.adv2-arrow > span { font-size: 0.58rem; color: var(--text-muted); text-align: center; white-space: nowrap; }
.adv2-conn-card {
  background: var(--bg-card) !important;
  border: 1px solid rgba(0,212,255,0.3) !important;
  min-width: 64px !important;
}
.adv2-proto { font-size: 0.58rem !important; color: var(--accent) !important; font-weight: 700; }

/* Automation Layer V2 */
.auto-flow-v2 {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; padding-bottom: 4px;
}
.afv2-card {
  flex: 1; min-width: 120px;
  border-radius: 12px; padding: 1.2rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  height: 140px; justify-content: center;
}
.afv2-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.afv2-card.highlight-card { border-color: rgba(220,38,38,0.3); background: rgba(220,38,38,0.04); }
.afv2-card img { width: 38px; height: 38px; object-fit: contain; }
.afv2-card .slack-icon { filter: invert(22%) sepia(80%) saturate(1200%) hue-rotate(246deg) brightness(90%) contrast(110%); }
.afv2-name { font-size: 0.8rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.afv2-desc { font-size: 0.68rem; color: var(--text-muted); line-height: 1.5; }
.afv2-arrow {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 0 8px; flex-shrink: 0;
  color: var(--text-muted); gap: 2px;
}
.afv2-arrow small { font-size: 0.62rem; color: var(--text-muted); font-weight: 600; }

/* === ARCHITECTURE DIAGRAM === */
.arch-diagram {
  display: flex; align-items: stretch;
  gap: 0; margin-bottom: 2rem;
  overflow-x: auto; padding-bottom: 0.5rem;
}
.arch-channel {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 12px; padding: 1.25rem;
  min-width: 110px; flex-shrink: 0;
}
.channel-title {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2px;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 1rem; text-align: center;
}
.channel-items { display: flex; flex-direction: column; gap: 10px; }
.ch-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--text-muted);
}
.ch-item span { white-space: nowrap; }

.arch-conn {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; padding: 0 8px; flex-shrink: 0;
}
.conn-line {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, rgba(0,212,255,0.3), rgba(124,58,237,0.3));
}
.conn-label {
  font-size: 0.62rem; color: var(--text-muted);
  text-align: center; white-space: nowrap; line-height: 1.3;
}
.tgw-label { color: #a78bfa; font-weight: 600; }
.conn-proto {
  font-size: 0.6rem; font-weight: 700;
  color: var(--accent); letter-spacing: 1px;
}

.arch-vpc {
  flex: 1; min-width: 200px;
  border-radius: 14px; padding: 1.25rem;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.75rem;
}
.arch-vpc.field-vpc-d  { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.3); }
.arch-vpc.normal-vpc-d { background: rgba(124,58,237,0.05); border-color: rgba(124,58,237,0.3); }
.arch-vpc.safety-vpc-d { background: rgba(0,212,255,0.05);  border-color: rgba(0,212,255,0.3); }
.vpc-title-d {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 6px; display: inline-block; width: fit-content;
}
.field-t  { background: rgba(245,158,11,0.15); color: var(--warn); }
.normal-t { background: rgba(124,58,237,0.15); color: #a78bfa; }
.safety-t { background: rgba(0,212,255,0.15);  color: var(--accent); }
.vpc-subtitle-d { font-size: 0.72rem; color: var(--text-muted); }
.vpc-zone { margin-top: 0.5rem; }
.zone-label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 1px;
  color: var(--text-muted); text-transform: uppercase;
  border-bottom: 1px solid var(--border); padding-bottom: 4px;
  margin-bottom: 6px;
}
.zone-comp {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 8px;
  font-size: 0.73rem; color: var(--text); margin-bottom: 4px;
}
.zone-comps { display: flex; flex-wrap: wrap; gap: 4px; }
.zone-comp-sm {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 8px;
  font-size: 0.7rem; color: var(--text); line-height: 1.4;
  text-align: center;
}
.zone-comp-sm small { color: var(--text-muted); font-size: 0.62rem; display: block; }
.zone-comp-sm.hl { border-color: rgba(0,212,255,0.4); color: var(--accent); }
.vpc-note {
  font-size: 0.7rem; color: var(--text-muted);
  line-height: 1.6; margin-top: 0.5rem;
  padding-top: 0.5rem; border-top: 1px solid var(--border);
}

/* Automation Layer */
.auto-layer {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.75rem;
}
.auto-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem;
}
.auto-flow {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; padding-bottom: 4px;
}
.auto-node {
  flex-shrink: 0; min-width: 110px;
  border-radius: 12px; padding: 1rem;
  border: 1px solid var(--border); text-align: center;
}
.cw-node  { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.3); }
.eb-node  { background: rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.3); }
.lm-node  { background: rgba(0,212,255,0.08);  border-color: rgba(0,212,255,0.2); }
.lq-node  { background: rgba(239,68,68,0.08);  border-color: rgba(239,68,68,0.3); }
.la-node  { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.3); }
.sl-node  { background: rgba(255,255,255,0.04); border-color: var(--border); }
.auto-icon { font-size: 1.3rem; margin-bottom: 4px; }
.auto-name { font-size: 0.72rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.auto-desc { font-size: 0.65rem; color: var(--text-muted); line-height: 1.4; }
.auto-arrow-h {
  padding: 0 6px; font-size: 1rem;
  color: var(--text-muted); text-align: center;
  flex-shrink: 0; font-size: 0.7rem;
}

/* Pipeline Flow */
.flow-pipeline {
  display: flex; align-items: stretch; gap: 0.4rem;
  flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px;
}
.pipe-step {
  flex: 1; min-width: 120px;
  border-radius: 12px; padding: 1.2rem 1rem;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 6px; text-align: center;
}
.pipe-step.normal-pipe  { background: rgba(16,185,129,0.05); border-color: rgba(16,185,129,0.25); }
.pipe-step.warn-pipe    { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.3); }
.pipe-step.danger-pipe  { background: rgba(239,68,68,0.05);  border-color: rgba(239,68,68,0.3); }
.pipe-icon { font-size: 1.5rem; }
.pipe-name { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.pipe-detail { font-size: 0.72rem; color: var(--text-muted); line-height: 1.5; }
.pipe-tech { font-size: 0.65rem; color: var(--accent); margin-top: 2px; }
.pipe-arrow {
  display: flex; align-items: center;
  color: var(--text-muted); font-size: 1.1rem;
  flex-shrink: 0; padding: 0 2px;
}

/* Recovery States */
.recovery-states {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin: 2rem 0; flex-wrap: wrap;
}
.rs-box {
  border-radius: 14px; padding: 1.5rem 2rem; text-align: center;
  min-width: 150px;
}
.rs-box.rs-safety   { background: rgba(239,68,68,0.1); border: 2px solid rgba(239,68,68,0.4); }
.rs-box.rs-recovery { background: rgba(124,58,237,0.1); border: 2px solid rgba(124,58,237,0.4); }
.rs-box.rs-normal   { background: rgba(16,185,129,0.1); border: 2px solid rgba(16,185,129,0.4); }
.rs-mode { font-size: 1rem; font-weight: 900; margin-bottom: 6px; }
.rs-box.rs-safety   .rs-mode { color: #fca5a5; }
.rs-box.rs-recovery .rs-mode { color: #a78bfa; }
.rs-box.rs-normal   .rs-mode { color: var(--safe); }
.rs-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }
.rs-condition { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rs-arrow { font-size: 1.5rem; color: var(--text-muted); }
.rs-label { font-size: 0.7rem; color: var(--text-muted); text-align: center; }
.rs-label2 { font-size: 0.65rem; color: var(--accent); text-align: center; }

/* === ACHIEVEMENTS === */
.ach-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem; margin-bottom: 3rem;
}
.ach-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem;
  position: relative; overflow: hidden;
}
.ach-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}
.ach-num {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 0.5rem;
}
.ach-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.ach-card p  { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }

.challenges-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 1.2rem;
}
.challenges-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem; margin-bottom: 3rem;
}
.challenge-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem;
}
.ch-point {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 1px;
  color: var(--accent2); margin-bottom: 0.4rem;
}
.challenge-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; }
.ch-section { margin-bottom: 0.75rem; }
.ch-tag {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 1px;
  padding: 2px 8px; border-radius: 4px; display: inline-block; margin-bottom: 4px;
}
.ch-tag.bad   { background: rgba(239,68,68,0.15); color: #fca5a5; }
.ch-tag.good  { background: rgba(0,212,255,0.15);  color: var(--accent); }
.ch-tag.learn { background: rgba(16,185,129,0.15); color: var(--safe); }
.ch-section p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

.improve-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
}
.improve-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.25rem;
}
.improve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.improve-card {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.25rem; text-align: center;
}
.imp-num {
  font-size: 1.2rem; font-weight: 900; color: var(--accent);
  margin-bottom: 0.75rem;
}
.imp-limit {
  font-size: 0.78rem; color: #fca5a5;
  background: rgba(239,68,68,0.08); border-radius: 6px;
  padding: 6px 10px; margin-bottom: 0.5rem; line-height: 1.5;
}
.imp-arrow { font-size: 1.2rem; color: var(--text-muted); margin: 0.4rem 0; }
.imp-solution {
  font-size: 0.78rem; color: var(--safe);
  background: rgba(16,185,129,0.08); border-radius: 6px;
  padding: 6px 10px; line-height: 1.5;
}

/* === EFFECTS === */
.effects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.effect-card {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; text-align: center;
}
.effect-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.effect-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.effect-card ul { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 6px; }
.effect-card li { font-size: 0.82rem; color: var(--text-muted); padding-left: 14px; position: relative; }
.effect-card li::before { content: '✓'; position: absolute; left: 0; color: var(--safe); font-size: 0.75rem; }

/* === TECH CATEGORIES === */
.tech-categories { display: flex; flex-direction: column; gap: 1.2rem; }
.tech-cat { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1.2rem 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; }
.tc-title { font-size: 0.78rem; font-weight: 700; color: var(--accent); min-width: 100px; flex-shrink: 0; padding-top: 4px; }
.tc-items { display: flex; flex-wrap: wrap; gap: 8px; }

/* === TECH STACK ICONS === */
.ts-group { margin-bottom: 1.5rem; }
.ts-group-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.75rem; padding-left: 4px;
}
.ts-icon-grid {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.ts-icon-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem 1.2rem;
  min-width: 90px; transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.ts-icon-card:hover {
  border-color: rgba(0,212,255,0.35);
  transform: translateY(-3px);
}
.ts-icon-wrap {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ts-icon-wrap img { width: 32px; height: 32px; object-fit: contain; }
.ts-icon-card span {
  font-size: 0.72rem; color: var(--text-muted);
  text-align: center; line-height: 1.3; white-space: nowrap;
}
/* icon background colors */
.aws-svc { background: transparent; }
.aws-bg { background: rgba(255,153,0,0.12); }
.py-bg  { background: rgba(55,118,171,0.15); }
.pd-bg  { background: rgba(21,4,88,0.25); }
.dy-bg  { background: rgba(64,83,214,0.15); }
.my-bg  { background: rgba(68,121,161,0.15); }
.rd-bg  { background: rgba(220,56,45,0.15); }
.fa-bg  { background: rgba(0,150,136,0.15); }
.sl-bg  { background: rgba(74,21,75,0.2); }
.slack-icon { filter: invert(22%) sepia(80%) saturate(1200%) hue-rotate(246deg) brightness(90%) contrast(110%); }

/* === COST === */
.cost-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; margin-bottom: 2rem;
}
.cost-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
}
.cost-cat-title {
  font-size: 0.88rem; font-weight: 700;
  margin-bottom: 1rem; color: var(--text);
}
.cost-table { display: flex; flex-direction: column; gap: 0; }
.cost-row {
  display: grid; grid-template-columns: 1fr 1fr auto;
  align-items: center; gap: 0.5rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-muted);
}
.cost-row:last-child { border-bottom: none; }
.cost-row.header {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text-muted);
  padding-bottom: 8px;
}
.cost-row span:first-child {
  display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--text);
}
.cost-row.header span:first-child { color: var(--text-muted); font-weight: 700; }
.cost-row img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; }
.cost-val { font-weight: 700; color: var(--accent); text-align: right; white-space: nowrap; }
.free-val { font-weight: 700; color: var(--safe); text-align: right; white-space: nowrap; font-size: 0.75rem; }
.cost-total-box {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cost-total-left { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cost-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; padding-left: 14px; position: relative; }
.cost-note::before { content: '•'; position: absolute; left: 0; color: var(--accent); }
.cost-total-right { text-align: right; flex-shrink: 0; }
.cost-total-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.cost-total-val { font-size: 2.5rem; font-weight: 900; color: var(--accent); line-height: 1; }
.cost-total-val span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.cost-total-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.vpc-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 4px; flex-shrink: 0; }
.field-dot  { background: #D97706; }
.normal-dot { background: #7C3AED; }
.safety-dot { background: #0284C7; }

/* === TEAM SIMPLE === */
.team-simple {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  justify-content: center;
}
.team-simple-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem 3rem;
  text-align: center; flex: 1; min-width: 150px; max-width: 220px;
  transition: border-color 0.2s, transform 0.2s;
}
.team-simple-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); }
.ts-num {
  font-size: 2.2rem; font-weight: 900;
  color: var(--accent); line-height: 1; margin-bottom: 0.5rem;
}
.ts-label { font-size: 0.85rem; color: var(--text-muted); }

/* === TEAM V2 === */
.team-grid-v2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
.team-card-v2 {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem; text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.team-card-v2:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); }
.team-card-v2.leader-v2 {
  border-color: rgba(0,212,255,0.3);
  background: linear-gradient(135deg, var(--bg-card), rgba(0,212,255,0.04));
}
.tv2-avatar { font-size: 2.2rem; margin-bottom: 0.6rem; }
.tv2-name   { font-size: 0.95rem; font-weight: 700; margin-bottom: 3px; }
.tv2-role   { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.team-card-v2.leader-v2 .tv2-role { color: var(--accent); font-weight: 600; }
.tv2-tasks  { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 5px; }
.tv2-tasks li { font-size: 0.72rem; color: var(--text-muted); padding-left: 12px; position: relative; line-height: 1.4; }
.tv2-tasks li::before { content: '·'; position: absolute; left: 0; color: var(--accent); }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .team-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  #hero { flex-direction: column; padding-top: 80px; }
  .hero-visual { flex: none; width: 100%; max-width: 400px; margin: 0 auto; }
  .layer { grid-template-columns: 1fr; }
  .ach-grid { grid-template-columns: 1fr; }
  .challenges-grid { grid-template-columns: 1fr; }
  .vmv-grid { grid-template-columns: 1fr; }
  .effects-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .improve-grid  { grid-template-columns: 1fr; }
  .swot-grid     { grid-template-columns: repeat(2, 1fr); }
  .team-grid-v2  { grid-template-columns: repeat(2, 1fr); }
  .bg-three-col  { flex-direction: column; }
  .bg-arrow-v    { transform: rotate(90deg); }
  .nav-links     { display: none; }
  .tech-cat      { flex-direction: column; gap: 0.75rem; }
}
