/* ============================================================
   RINC DATA — OFFICIAL BRANDING & DESIGN SYSTEM (PROSPECTION DECKS)
   Theme: "Warm Minimalist Tech"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* PALETA WARM MINIMALIST TECH */
  --bg-primary: #181512;
  --bg-secondary: #231F1B;
  --bg-card: #231F1B;
  --border-color: rgba(223, 186, 146, 0.12);
  --border-accent: rgba(200, 138, 88, 0.35);
  
  --text-main: #EDE6DE;
  --text-muted: #9C9286;
  --text-subtle: #6B6257;

  --accent-primary: #C88A58;
  --accent-primary-hover: #B57847;
  --accent-secondary: #DFBA92;
  --accent-indicator: #FF2A2A;
  
  /* RInC Data Palette Aliases */
  --rinc-red: var(--accent-primary);
  --rinc-red-hover: var(--accent-primary-hover);
  --rinc-slate: var(--bg-secondary);
  --rinc-blue: var(--accent-secondary);
  --rinc-gold: var(--accent-secondary);
  --rinc-green: #34D399;
  --rinc-cyan: var(--accent-secondary);

  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  --transition-speed: 0.4s;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Progress Bar --- */
.progress-bar-container {
  width: 100%;
  height: 4px;
  background: var(--bg-secondary);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.progress-bar {
  height: 100%;
  width: 11.11%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width var(--transition-speed) ease;
}

/* --- Header & Logo --- */
.header {
  height: 70px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: rgba(24, 21, 18, 0.95);
  backdrop-filter: blur(12px);
  z-index: 90;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 44px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(200, 138, 88, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  position: relative;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-name strong { color: var(--accent-primary); }

.brand-name::after, .brand-led {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-indicator);
  box-shadow: 0 0 8px rgba(255, 42, 42, 0.9);
  margin-left: 3px;
  vertical-align: super;
}

.brand-slogan {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
}

.slide-counter {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-mono);
}

.btn-fullscreen {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-fullscreen:hover {
  background: rgba(200, 138, 88, 0.15);
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* --- Deck Container & Slide Transitions --- */
.deck-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px) scale(0.98);
  transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

.slide-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Typography & Badges --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(200, 138, 88, 0.12);
  border: 1px solid var(--border-accent);
  color: var(--accent-secondary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  color: var(--text-main);
}

.slide-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 900px;
  line-height: 1.5;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Hero Slide --- */
.hero-slide {
  text-align: left;
}

.hero-brand-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-brand-header.center-header {
  justify-content: center;
}

.hero-logo-large {
  height: 75px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(200, 138, 88, 0.25);
}

.hero-logo-small {
  height: 60px;
  width: auto;
  border-radius: 50%;
}

.hero-slogan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: rgba(223, 186, 146, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
}

.red-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-indicator);
  box-shadow: 0 0 8px rgba(255, 42, 42, 0.8);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 850px;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-hover));
  color: #181512;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(200, 138, 88, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  width: fit-content;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(200, 138, 88, 0.45);
}

.btn-lg {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
}

.hero-highlights {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
  background: rgba(223, 186, 146, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.highlight-item i {
  color: var(--accent-primary);
}

/* --- Grids & Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

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

/* --- Glassmorphism Cards --- */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Colors */
.text-danger { color: var(--accent-primary); }
.text-warning { color: var(--accent-secondary); }
.text-info { color: var(--accent-secondary); }
.text-success { color: #34D399; }
.text-accent { color: var(--accent-secondary); }

/* --- Solution Banner --- */
.solution-banner {
  margin-top: 2rem;
  background: rgba(200, 138, 88, 0.1);
  border: 1px solid var(--border-accent);
  padding: 1.25rem 1.75rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
}

.solution-banner i {
  font-size: 1.6rem;
  color: var(--accent-primary);
}

/* --- Architecture & Step Boxes --- */
.highlight-box {
  border-color: var(--accent-primary);
  background: rgba(200, 138, 88, 0.08);
}

.step-box i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  color: var(--accent-primary);
}

.step-box h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.architecture-card {
  position: relative;
  overflow: hidden;
}

.layer-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.bronze-badge { background: #CD7F32; color: #FFF; }
.silver-badge { background: #C0C0C0; color: #000; }
.gold-badge { background: #FFD700; color: #000; }

.bronze-border { border-top: 3px solid #CD7F32; }
.silver-border { border-top: 3px solid #C0C0C0; }
.gold-border { border-top: 3px solid #FFD700; }

.layer-list {
  list-style: none;
  margin-top: 1rem;
}

.layer-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.finops-banner {
  margin-top: 2rem;
  background: rgba(200, 138, 88, 0.1);
  border: 1px solid var(--border-accent);
  padding: 1.2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

/* --- Preview Cards --- */
.preview-card {
  background: var(--bg-secondary);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: var(--accent-indicator); }
.dot.yellow { background: var(--accent-secondary); }
.dot.green { background: #34D399; }

.preview-title {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.stat-mini {
  background: rgba(223, 186, 146, 0.04);
  padding: 0.75rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0.25rem;
  color: var(--accent-secondary);
}

.chart-mockup {
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  padding-top: 1rem;
  border-left: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
}

.bar-1 { background: var(--accent-primary); }
.bar-2 { background: var(--accent-secondary); }
.bar-3 { background: rgba(223, 186, 146, 0.5); }
.bar-4 { background: #34D399; }

/* --- Footer Controls --- */
.controls-footer {
  height: 65px;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  background: rgba(24, 21, 18, 0.95);
  z-index: 90;
}

.btn-control {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-control:hover:not(:disabled) {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #181512;
}

.btn-control:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.dots-container {
  display: flex;
  gap: 0.6rem;
}

.dot-step {
  width: 100px;
  height: 10px;
  border-radius: 50%;
  background: rgba(223, 186, 146, 0.2);
  cursor: pointer;
  transition: all 0.3s;
  width: 10px;
}

.dot-step.active {
  background: var(--accent-primary);
  width: 24px;
  border-radius: 10px;
  box-shadow: 0 0 8px var(--accent-primary);
}
