/* =============================================
   RNCON Medical Business Architect - Global Styles
   ============================================= */

/* ---- Animations ---- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.08; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.1); }
}

.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-slide-up { animation: slideUp 1s ease forwards; }
.animate-fade-in-delay { animation: fadeIn 1s ease 0.4s both; }
.animate-slide-up-delay { animation: slideUp 1s ease 0.6s both; }

/* ---- Hero ---- */
.hero-grid-bg {
  background-image:
    linear-gradient(rgba(200, 169, 110, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 169, 110, 0.07) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-glow { animation: glow-pulse 6s ease-in-out infinite; }
.hero-glow2 { animation: glow-pulse 8s ease-in-out 2s infinite; }

/* ---- Gradient Text ---- */
.text-gradient-gold {
  background: linear-gradient(135deg, #c8a96e, #f0d080, #c8a96e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- CTA Buttons ---- */
.cta-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #c8a96e;
  color: #1a1a2e;
  padding: 0.85rem 2.2rem;
  border-radius: 0.375rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.3s;
  border: 2px solid #c8a96e;
  cursor: pointer;
}
.cta-primary-btn:hover {
  background-color: #e8d5a3;
  border-color: #e8d5a3;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 169, 110, 0.35);
}
.cta-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #c8a96e;
  padding: 0.85rem 2.2rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid rgba(200, 169, 110, 0.5);
  transition: all 0.3s;
  cursor: pointer;
}
.cta-secondary-btn:hover {
  background-color: rgba(200, 169, 110, 0.1);
  border-color: #c8a96e;
  transform: translateY(-2px);
}

/* ---- Ticker ---- */
.ticker-wrap { overflow: hidden; white-space: nowrap; }
.ticker-content {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

/* ---- Tag Badge ---- */
.tag-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.3);
  color: #e8d5a3;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ---- Takeaway Cards ---- */
.takeaway-card {
  background: linear-gradient(135deg, rgba(22,33,62,0.8), rgba(10,10,26,0.9));
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
  cursor: default;
}
.takeaway-card:hover {
  border-color: rgba(200,169,110,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.takeaway-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  color: rgba(200,169,110,0.3);
  flex-shrink: 0;
  line-height: 1;
  min-width: 2.5rem;
}
.stat-badge {
  display: inline-block;
  background: rgba(200,169,110,0.15);
  color: #c8a96e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(200,169,110,0.3);
}

/* ---- Roadmap ---- */
.roadmap-item { margin-bottom: 0; }
.roadmap-card-left, .roadmap-card-right {
  background: linear-gradient(135deg, rgba(22,33,62,0.9), rgba(10,10,26,0.95));
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}
.roadmap-card-left:hover, .roadmap-card-right:hover {
  border-color: rgba(200,169,110,0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.shadow-glow {
  box-shadow: 0 0 20px rgba(200,169,110,0.5), 0 0 40px rgba(200,169,110,0.2);
}
.stage-badge {
  display: inline-block;
  background: rgba(200,169,110,0.2);
  color: #c8a96e;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(200,169,110,0.3);
}
.stage-badge-pre {
  display: inline-block;
  background: rgba(107,114,128,0.2);
  color: #9ca3af;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(107,114,128,0.3);
}
.mini-tag {
  display: inline-block;
  background: rgba(200,169,110,0.1);
  color: #c8a96e;
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(200,169,110,0.2);
}

/* ---- Speaker ---- */
.speaker-main-card {
  background: linear-gradient(135deg, rgba(22,33,62,0.9), rgba(10,10,26,0.95));
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
}
.speaker-stat {
  padding: 0.75rem;
  background: rgba(255,255,255,0.03);
  border-radius: 0.75rem;
}
.expertise-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(22,33,62,0.5);
  border: 1px solid rgba(200,169,110,0.1);
  border-radius: 0.75rem;
  transition: all 0.3s;
}
.expertise-item:hover {
  border-color: rgba(200,169,110,0.4);
  background: rgba(22,33,62,0.8);
}
.expertise-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(200,169,110,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vision-card {
  background: linear-gradient(135deg, rgba(22,33,62,0.6), rgba(10,10,26,0.8));
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 1.5rem;
  padding: 3rem;
}

/* ---- Market Stats ---- */
.market-stat-card {
  background: linear-gradient(135deg, rgba(22,33,62,0.8), rgba(10,10,26,0.9));
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}
.market-stat-card:hover {
  border-color: rgba(200,169,110,0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.trend-card {
  background: linear-gradient(135deg, rgba(22,33,62,0.8), rgba(10,10,26,0.9));
  border: 1px solid rgba(200,169,110,0.1);
  border-radius: 1rem;
  padding: 1.75rem;
}
.danger-trend { border-color: rgba(239,68,68,0.2); }
.positive-trend { border-color: rgba(34,197,94,0.2); }

/* ---- Trap Cards ---- */
.trap-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 0.3s;
}
.trap-card:hover {
  border-color: rgba(239,68,68,0.4);
  background: rgba(239,68,68,0.05);
}

/* ---- Strategy Tabs ---- */
.strategy-tab {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(200,169,110,0.25);
  color: #9ca3af;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.strategy-tab:hover {
  border-color: rgba(200,169,110,0.5);
  color: #c8a96e;
}
.strategy-tab.active {
  background: rgba(200,169,110,0.2);
  border-color: #c8a96e;
  color: #c8a96e;
}
.strategy-content {
  background: linear-gradient(135deg, rgba(22,33,62,0.5), rgba(10,10,26,0.7));
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 1.25rem;
  padding: 2rem;
}

/* ---- Cost items ---- */
.cost-item { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.progress-bar {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  margin-top: 0.4rem;
}
.progress-fill {
  background: linear-gradient(90deg, #c8a96e, #f0d080);
  height: 100%;
  border-radius: 999px;
  width: 0;
  transition: width 1.5s ease-out;
}

/* ---- Tier Cards ---- */
.tier-card {
  background: linear-gradient(135deg, rgba(22,33,62,0.8), rgba(10,10,26,0.9));
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.3s;
}
.tier-card:hover { transform: translateY(-4px); }
.tier-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.tier-feature {
  font-size: 0.78rem;
  color: #9ca3af;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.accent-feature { color: #c8a96e !important; font-weight: 600; }

/* ---- Global Cards ---- */
.global-card { transition: all 0.3s; }
.global-card:hover { transform: translateY(-4px); }

/* ---- Asset Phase Cards ---- */
.asset-phase-card {
  background: linear-gradient(135deg, rgba(22,33,62,0.8), rgba(10,10,26,0.9));
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.3s;
}
.asset-phase-card:hover {
  border-color: rgba(200,169,110,0.5);
  transform: translateY(-4px);
}

/* ---- Target & Benefit cards ---- */
.target-card, .benefit-card {
  background: rgba(22,33,62,0.5);
  border: 1px solid rgba(200,169,110,0.1);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  transition: all 0.3s;
}
.target-card:hover, .benefit-card:hover {
  border-color: rgba(200,169,110,0.3);
  background: rgba(22,33,62,0.8);
}

/* ---- Schedule ---- */
.schedule-info-card {
  background: linear-gradient(135deg, rgba(22,33,62,0.8), rgba(10,10,26,0.9));
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
}
.schedule-info-card:hover { border-color: rgba(200,169,110,0.4); }

/* ---- Register Card ---- */
.register-card {
  background: linear-gradient(135deg, rgba(22,33,62,0.95), rgba(10,10,26,0.98));
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 1.5rem;
  padding: 2.5rem;
}

/* ---- Form Elements ---- */
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
}
.form-input:focus {
  border-color: #c8a96e;
  background: rgba(200,169,110,0.08);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.1);
}
.form-input::placeholder { color: #6b7280; }
.form-input option { background: #1a1a2e; }

.radio-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: #9ca3af;
  transition: all 0.3s;
  text-align: center;
}
.radio-option:hover {
  border-color: rgba(200,169,110,0.5);
  color: #c8a96e;
}
.radio-option.selected {
  background: rgba(200,169,110,0.2);
  border-color: #c8a96e;
  color: #c8a96e;
  font-weight: 600;
}

/* ---- Reveal Animation ---- */
.reveal-hidden { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.revealed { opacity: 1; transform: translateY(0); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1a1a2e; }
::-webkit-scrollbar-thumb { background: rgba(200,169,110,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #c8a96e; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .strategy-content { padding: 1.25rem; }
  .roadmap-card-left, .roadmap-card-right {
    margin-bottom: 0.5rem;
  }
  .speaker-main-card { padding: 1.75rem; }
  .register-card { padding: 1.75rem; }
}
