/* ==========================================================================
   FITGIV Plan Deck — screenshot-matched design
   ========================================================================== */

:root {
  --bg: #090e15;
  --bg-deep: #070b10;
  --panel: rgba(12, 18, 28, 0.72);
  --panel-border: rgba(255, 255, 255, 0.06);
  --text: #f3f4f6;
  --muted: #88909b;
  --dim: #6b7280;
  --nav-active-bg: #0a3a30;
  --nav-active-border: #23956e;
  --nav-active-text: #ecfdf5;
  --emerald: #10b981;
  --mint: #30c58f;
  --teal: #1a9b78;
  --cyan: #22d3ee;
  --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);
  /* soft teal-green ambient wash (screenshot-sampled) */
  background-image:
    radial-gradient(ellipse 90% 70% at 12% 8%, rgba(12, 55, 48, 0.55) 0%, rgba(10, 35, 38, 0.22) 35%, transparent 62%),
    radial-gradient(ellipse 70% 55% at 0% 40%, rgba(8, 40, 42, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 92% 88%, rgba(8, 28, 36, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 100%, rgba(6, 24, 30, 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;
}

/* Extra soft bloom layers — muted teal, not bright neon */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

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

.orb-right {
  width: 520px;
  height: 460px;
  background: #0a2a30;
  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 — free-floating labels + soft dark-teal active pill */
.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: #cfd5de;
}

.nav-btn.active {
  background: var(--nav-active-bg);
  border-color: rgba(35, 149, 110, 0.55);
  color: var(--nav-active-text);
  box-shadow:
    0 0 0 1px rgba(10, 58, 48, 0.4),
    0 6px 18px rgba(8, 40, 34, 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;
}

/* Values */
.value-card {
  padding: 28px 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(16, 185, 129, 0.25);
}

.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, #10b981, #059669); }
.icon-2 { background: linear-gradient(145deg, #22d3ee, #0891b2); }
.icon-3 { background: linear-gradient(145deg, #818cf8, #4f46e5); }
.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(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.18);
}

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

/* Content pills */
.content-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.content-tags-second {
  margin-top: 10px;
}

.content-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(10, 16, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  font-size: 13.5px;
  font-weight: 600;
}

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

/* Card news demo */
.card-news-preview {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: left;
  background: rgba(8, 12, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--dim);
  font-size: 12px;
}

.preview-header span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.preview-dots .dot.active {
  background: var(--mint);
}

.preview-body {
  padding: 22px 24px 26px;
  text-align: center;
}

.preview-badge {
  display: inline-block;
  color: var(--mint);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.preview-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
}

.preview-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  transition: opacity 0.3s ease;
}

/* 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(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.target-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  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: 560px;
}

.brand-pill {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 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(52, 211, 153, 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; }
}

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

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

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

  .grid-4 {
    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;
  }
}
