/* ==========================================================================
   MYSSUL Plan Deck — presentation layout (Fitgiv /plan structure)
   ========================================================================== */

:root {
  --bg: #0c0a08;
  --bg-deep: #090706;
  --panel: rgba(22, 16, 10, 0.72);
  --panel-border: rgba(255, 255, 255, 0.06);
  --text: #f3f4f6;
  --muted: #9a9084;
  --dim: #6b7280;
  --nav-active-bg: #3d2e0a;
  --nav-active-border: #d4a017;
  --nav-active-text: #fffbeb;
  --emerald: #f59e0b;
  --mint: #fbbf24;
  --teal: #d97706;
  --cyan: #fb923c;
  --indigo: #6366f1;
  --purple: #8b5cf6;
  --font-heading: 'Outfit', 'Noto Sans KR', sans-serif;
  --font-body: 'Inter', 'Noto Sans KR', sans-serif;
}

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

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 70% at 12% 8%, rgba(55, 38, 12, 0.55) 0%, rgba(38, 24, 10, 0.22) 35%, transparent 62%),
    radial-gradient(ellipse 70% 55% at 0% 40%, rgba(42, 28, 8, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 92% 88%, rgba(36, 20, 8, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 100%, rgba(30, 18, 6, 0.18) 0%, transparent 55%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.orb-left {
  width: 640px;
  height: 520px;
  background: #3a2a0c;
  opacity: 0.32;
  top: -180px;
  left: -160px;
}

.orb-right {
  width: 520px;
  height: 460px;
  background: #2a1810;
  opacity: 0.18;
  bottom: -200px;
  right: -140px;
}

/* App shell */
.presentation-app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 20px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.nav-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 11px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-btn:hover {
  color: #e7ddd0;
}

.nav-btn.active {
  background: var(--nav-active-bg);
  border-color: rgba(212, 160, 23, 0.55);
  color: var(--nav-active-text);
  box-shadow:
    0 0 0 1px rgba(61, 46, 10, 0.4),
    0 6px 18px rgba(40, 28, 8, 0.35);
}

/* Deck */
.deck-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  width: 100%;
}

.slide-card {
  display: none;
  width: 100%;
  animation: fadeIn 0.35s ease;
}

.slide-card.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-inner {
  width: 100%;
  text-align: center;
  padding: 12px 0 8px;
}

.slide-hero {
  padding-top: 36px;
}

/* Typography */
.service-name {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.15;
}

.accent-text {
  color: var(--mint);
  font-weight: 800;
}

.service-slogan {
  margin-top: 14px;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  color: var(--mint);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.section-sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

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

.hero-cards {
  margin-top: 40px;
  text-align: left;
}

.values-grid {
  margin-top: 36px;
}

.features-grid {
  margin-top: 36px;
  text-align: left;
}

.diff-grid {
  margin-top: 36px;
  text-align: left;
}

/* Panels / cards */
.panel,
.value-card,
.feature-column {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.panel {
  padding: 26px 24px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.panel-title i {
  color: var(--mint);
  font-size: 14px;
}

.panel-strong {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.panel-text {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.panel-text strong {
  color: #e5e7eb;
  font-weight: 600;
}

.panel-quote {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mint);
  line-height: 1.6;
}

/* Values */
.value-card {
  padding: 24px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.28);
}

.value-num {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--mint);
  opacity: 0.85;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  margin-bottom: 4px;
}

.icon-1 { background: linear-gradient(145deg, #f59e0b, #d97706); }
.icon-2 { background: linear-gradient(145deg, #fb923c, #ea580c); }
.icon-3 { background: linear-gradient(145deg, #f472b6, #e11d48); }
.icon-4 { background: linear-gradient(145deg, #a78bfa, #7c3aed); }

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.value-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mint);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.18);
}

.value-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 200px;
}

/* Content cards */
.content-cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  text-align: center;
}

.content-card {
  grid-column: span 2;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  padding: 20px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.content-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.content-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.content-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--mint);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.18);
  font-size: 16px;
}

.content-card h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

.content-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.format-panel {
  margin: 20px auto 0;
  max-width: 820px;
  padding: 18px 22px 20px;
  background: rgba(12, 8, 6, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
}

.format-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 8px;
}

.format-lead {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.format-lead strong {
  color: #e5e7eb;
  font-weight: 700;
}

/* Features */
.feature-column {
  padding: 24px 22px;
}

.feature-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--mint);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #e5e7eb;
}

.feature-list i {
  color: var(--emerald);
  font-size: 12px;
  width: 14px;
  text-align: center;
}

/* Diff / targets */
.format-badges {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.format-badges span {
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mint);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.target-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.target-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #e5e7eb;
}

.target-list i {
  color: var(--mint);
  width: 16px;
  text-align: center;
}

.target-list strong {
  color: #fff;
}

/* Vision */
.slide-vision {
  padding: 48px 12px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-mark {
  color: var(--emerald);
  font-size: 28px;
  opacity: 0.85;
  margin-bottom: 18px;
}

.vision-quote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
  max-width: 820px;
}

.vision-desc {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
}

.vision-desc-sub {
  margin-top: 14px;
  font-size: 13.5px;
}

.vision-desc strong {
  color: #e5e7eb;
  font-weight: 600;
}

.brand-pill {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.brand-pill i {
  color: var(--mint);
}

/* Footer pager */
.deck-footer {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  padding: 18px 0 8px;
}

.pager-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pager-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pager-dot.active {
  width: 18px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}

.pager-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.35);
}

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .content-cards { grid-template-columns: repeat(2, 1fr); }
  .content-card,
  .content-card:nth-child(4),
  .content-card:nth-child(5) { grid-column: auto; }
}

@media (max-width: 720px) {
  .presentation-app {
    padding: 16px 14px 12px;
  }

  .nav-links {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .grid-4,
  .content-cards {
    grid-template-columns: 1fr;
  }

  .slide-hero {
    padding-top: 16px;
  }

  .hero-cards,
  .values-grid,
  .features-grid,
  .diff-grid {
    margin-top: 24px;
  }

  .value-card p {
    max-width: none;
  }

  .slide-vision {
    padding-top: 24px;
  }
}
