/* Manus Investor Deck - Common Styles */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600&display=swap');

/* CSS Variables - Brand Colors */
:root {
  --color-primary: #002D62;    /* Navy Blue */
  --color-accent: #C41E3A;     /* Red */
  --color-secondary: #89CFF0;  /* Light Blue */
  --color-success: #10b981;    /* Green */
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-lighter: #E0E0E0;
  --color-text-muted: #555555;
  --color-text-dark: #111827;
  --color-text-medium: #374151;
  --color-border: #E0E0E0;
  --color-bg-light: #F8F9FA;
  --color-bg-hover: #f9fafb;
  
  /* Category Colors for Charts/Tables */
  --color-category-1: #1e40af;  /* Blue */
  --color-category-2: #4b5563;  /* Gray */
  --color-category-3: #d97706;  /* Orange */
  
  /* Semi-transparent Icon Backgrounds */
  --color-accent-bg: rgba(196, 30, 58, 0.1);
  --color-primary-bg: rgba(0, 45, 98, 0.1);
  --color-category-1-bg: rgba(30, 64, 175, 0.2);
  --color-category-2-bg: rgba(75, 85, 99, 0.1);
  --color-category-3-bg: rgba(217, 119, 6, 0.1);
  
  /* Box Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

/* Presentation Frame */
body {
  background: linear-gradient(135deg, #6e959c 0%, #1d3c59 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px;
}

.presentation-frame {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Base Slide Container */
.slide-container { 
  width: 1280px; 
  height: 720px; 
  background: var(--color-white); 
  font-family: var(--font-body);
  display: flex;
  overflow: hidden;
}

/* Typography */
h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1.1;
}

/* Accent Line */
.accent-line {
  width: px;
  height: 8px;
  background: var(--color-accent);
  margin-bottom: 10px;
}

/* Header Section */
.header-section {
  padding-top: 60px;
  padding-left: 80px;
  margin-bottom: 40px;
}

/* Content Section */
.content-section {
  flex: 1;
  padding-top: 60px;
  padding-left: 60px;
  padding-right: 60px;
  display: flex;
  flex-direction: column;
}

/* Metric Cards */
.metric-card {
  padding-top: 10px;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2.625rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 5px;
}

.metric-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metric-desc {
  font-size: 16px;
  color: var(--color-text-light);
  margin-top: 10px;
  line-height: 1.4;
}

/* Grids */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 10px;
}

.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Image Sections */
.image-section {
  width: 500px;
  height: 750px;
  background: var(--color-primary);
}

.image-section img {
  width: 500px;
  height: 750px;
  object-fit: cover;
  opacity: 0.9;
}

/* Left Content (for split layouts) */
.left-content {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  background: var(--color-white);
}

/* Right Image (for split layouts) */
.right-image {
  flex: 2.86;
  position: relative;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  background: var(--color-primary);
  display: flex;
  align-items: center;

}

.right-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Diagonal Accent */
.diagonal-accent {
  position: absolute;
  top: 0;
  left: 40%;
  width: 20px;
  height: 100%;
  background: var(--color-accent);
  transform: skewX(-9deg);
  z-index: 1;
}

/* Vision/Subtitle Text */
.vision, .subtitle {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 40px;
}

/* Opportunity/Description Text */
.opportunity {
  font-size: 20px;
  color: var(--color-text);
  border-left: 4px solid var(--color-secondary);
  padding-left: 20px;
  margin-bottom: 60px;
  max-width: 500px;
}

/* Presenter Info */
.presenter-info {
  margin-top: auto;
}

.presenter-name {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 24px;
}

.presenter-company {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 20px;
  margin-top: 5px;
}

.location {
  color: var(--color-text-light);
  font-size: 18px;
}

/* Financial Highlight */
.financial-highlight {
  margin-top: auto;
  padding-top: 40px;
  padding-bottom: 60px;
  border-top: 2px solid var(--color-secondary);
}

.financial-text {
  font-size: 22px;
  color: var(--color-text);
  font-weight: 600;
}

.financial-text span {
  color: var(--color-accent);
}

/* Problem Grid (for dark backgrounds) */
.problem-grid {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  padding-top: 40px;
}

.problem-item {
  width: 350px;
  text-align: center;
  padding-top: 20px;
}

.icon-box {
  font-size: 48px;
  color: var(--color-accent);
  margin-bottom: 25px;
}

.problem-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-white);
}

.problem-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-lighter);
}

.accent-bar {
  width: 120px;
  height: 6px;
  background: var(--color-accent);
  margin: 20px auto;
}

/* Tables */
.tiers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}

.tiers-table th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  padding-top: 15px;
  border-bottom: 3px solid var(--color-primary);
  text-transform: uppercase;
}

.tiers-table td {
  padding-top: 15px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.tiers-table .highlight {
  font-weight: 700;
  color: var(--color-accent);
}

/* Benefits Section */
.benefits-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-box {
  padding-top: 20px;
  border-top: 4px solid var(--color-secondary);
}

.benefit-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.benefit-text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.benefit-text b {
  color: var(--color-accent);
}

/* Asset Value */
.asset-value {
  margin-top: auto;
  padding-top: 40px;
  padding-bottom: 60px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
}

.asset-value span {
  color: var(--color-accent);
}

/* Main Content Area */
.main-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding-left: 80px;
  padding-right: 80px;
}

/* Dark Slide Variant */
.slide-container.dark {
  background: var(--color-primary);
  color: var(--color-white);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slide-container.dark h2 {
  color: var(--color-white);
}

.slide-container.dark .subtitle {
  color: var(--color-secondary);
}

/* Revenue Metrics */
.revenue-metric {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--color-accent);
}

.revenue-label {
  font-size: 18px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* Navigation Buttons */
.nav-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.nav-btn {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
  background: var(--color-accent);
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.nav-btn:focus,
.nav-btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.nav-btn i {
  pointer-events: none;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablet and below (1024px and down) */
@media screen and (max-width: 1024px) {
  body {
    padding: 20px;
  }

  .presentation-frame {
    border-radius: 4px;
    width: 100%;
    min-width: 0;
  }

  .slide-container {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 500px;
    flex-direction: column !important;
  }

  /* Typography adjustments */
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  /* Header and content sections */
  .header-section {
    padding: 40px 40px 20px 40px;
  }

  .content-section {
    padding: 40px;
  }

  /* Split layouts become stacked */
  .left-content {
    padding: 40px;
    width: 100%;
  }

  .diagonal-accent {
    display: none;
  }

  /* Image sections */
  .image-section,
  .right-image,
  .image-side {
    width: 100%;
    height: auto;
  }

  .image-section img,
  .right-image img,
  .image-side img {
    width: 100%;
    height: auto;
  }

  /* Grids become single column */
  .metrics-grid,
  .two-column-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .main-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-left: 40px;
    padding-right: 40px;
  }

  /* Navigation buttons */
  .nav-buttons {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .nav-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Mobile phones (768px and down) */
@media screen and (max-width: 768px) {
  body {
    padding: 10px;
    min-height: 100vh;
  }

  .slide-container {
    min-height: 700px;
  }

  /* Typography */
  h1 {
    font-size: 36px;
    margin-bottom: 15px;
  }

  h2 {
    font-size: 28px;
  }

  /* Adjust specific slide elements */
  .deck-title {
    font-size: 42px !important;
  }

  .deck-subtitle {
    font-size: 24px !important;
    margin-bottom: 30px !important;
  }

  .deck-description {
    font-size: 18px !important;
    margin-bottom: 40px !important;
  }

  .presenter-section {
    margin-top: 40px !important;
  }

  .presenter-details {
    font-size: 22px !important;
  }

  .presenter-location {
    font-size: 16px !important;
  }

  /* Content sections */
  .header-section {
    padding: 30px 20px 15px 20px;
  }

  .content-section {
    padding: 30px 20px;
  }

  .left-content {
    padding: 30px 20px;
  }

  .center-content {
    padding: 40px 20px !important;
  }

  /* Vision and subtitles */
  .vision,
  .subtitle {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .opportunity {
    font-size: 16px;
    margin-bottom: 40px;
  }

  /* Main content */
  .main-content {
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
  }

  /* Metrics */
  .metric-value {
    font-size: 32px;
  }

  .metric-label {
    font-size: 16px;
  }

  .metric-desc {
    font-size: 14px;
  }

  /* Revenue metrics */
  .revenue-metric {
    font-size: 28px;
  }

  .revenue-label {
    font-size: 16px;
  }

  /* Problem grid becomes single column */
  .problem-grid {
    flex-direction: column;
    padding-top: 20px;
    gap: 30px;
  }

  .problem-item {
    width: 100%;
  }

  .problem-title {
    font-size: 20px;
  }

  .problem-text {
    font-size: 16px;
  }

  .icon-box {
    font-size: 40px;
  }

  /* Tables */
  .tiers-table {
    font-size: 14px;
  }

  .tiers-table th,
  .tiers-table td {
    padding-top: 10px;
  }

  /* Image adjustments */
  .right-image,
  .image-section,
  .image-side {
    height: auto;
    clip-path: none;
  }

  .right-image img,
  .image-section img,
  .image-side img {
    height: auto;
  }

  /* Navigation */
  .nav-buttons {
    bottom: 10px;
    right: 10px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Benefits section */
  .benefits-section {
    gap: 20px;
  }

  .benefit-title {
    font-size: 18px;
  }

  .benefit-text {
    font-size: 16px;
  }

  /* Revenue grid for slide 6 */
  .revenue-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 20px;
    gap: 25px;
  }

  .revenue-title {
    font-size: 20px;
  }

  .revenue-detail {
    font-size: 16px;
  }

  /* Points/solutions */
  .point {
    gap: 15px;
  }

  .point-icon {
    font-size: 24px;
    width: 35px;
  }

  .point-title {
    font-size: 18px;
  }

  .point-text {
    font-size: 16px;
  }

  /* Specific slide adjustments */
  .content-side,
  .image-side {
    width: 100% !important;
    height: auto !important;
    clip-path: none !important;
  }

  .image-side img {
    width: 100% !important;
    height: auto !important;
  }

  /* Headers for dark slides */
  .header {
    padding: 30px 20px !important;
    height: auto !important;
  }

  /* Financial highlights */
  .financial-highlight {
    padding-top: 30px;
    padding-bottom: 40px;
  }

  .financial-text {
    font-size: 18px;
  }

  /* Asset value */
  .asset-value {
    font-size: 20px;
    padding-top: 30px;
    padding-bottom: 40px;
  }

  /* Presenter info */
  .presenter-name {
    font-size: 20px;
  }

  .location {
    font-size: 16px;
  }
}

/* Small mobile phones (480px and down) */
@media screen and (max-width: 480px) {
  body {
    padding: 5px;
  }

  .slide-container {
    min-height: 600px;
  }

  /* Typography */
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  .deck-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  .deck-subtitle {
    font-size: 20px !important;
  }

  .deck-description {
    font-size: 16px !important;
  }

  /* Spacing adjustments */
  .header-section,
  .content-section,
  .left-content,
  .center-content {
    padding: 20px 15px !important;
  }

  .main-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Metrics */
  .metric-value {
    font-size: 28px;
  }

  .metric-label {
    font-size: 14px;
  }

  .revenue-metric {
    font-size: 24px;
  }

  /* Vision/Opportunity */
  .vision,
  .subtitle {
    font-size: 20px;
  }

  .opportunity {
    font-size: 14px;
  }

  /* Images */
  .right-image,
  .image-section,
  .image-side {
    height: auto !important;
  }

  .right-image img,
  .image-section img,
  .image-side img {
    height: auto !important;
  }

  /* Problems/benefits */
  .problem-title {
    font-size: 18px;
  }

  .problem-text {
    font-size: 14px;
  }

  .icon-box {
    font-size: 36px;
  }

  /* Tables */
  .tiers-table {
    font-size: 12px;
  }

  /* Navigation */
  .nav-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  /* Point content */
  .point-title {
    font-size: 16px;
  }

  .point-text {
    font-size: 14px;
  }

  .point-icon {
    font-size: 20px;
    width: 30px;
  }

  /* Revenue items */
  .revenue-title {
    font-size: 18px;
  }

  .revenue-detail {
    font-size: 14px;
  }

  /* Presenter section */
  .presenter-details {
    font-size: 18px !important;
  }

  .presenter-location {
    font-size: 14px !important;
  }
}
