@import url('simple-table.css');

/* Base styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #4f46e5;
  --accent-color: #8b5cf6;
  --text-color: #1e293b;
  --light-text: #64748b;
  --background-color: #ffffff;
  --slide-background: #f8fafc;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #e2e8f0;
    --light-text: #94a3b8;
    --background-color: #0f172a;
    --slide-background: #1e293b;
    --border-color: #334155;
  }
}

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

html, body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  font-size: 16px;
}

/* Presentation container */
.presentation-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Slide styles */
.slide {
  background-color: var(--slide-background);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  overflow: hidden;
  page-break-after: always;
  min-height: 600px;
  position: relative;
  padding: 40px;
}

.slide-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Title slide */
.title-slide {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.title-slide h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

.title-slide h2 {
  font-size: 1.8rem;
  color: var(--light-text);
  font-weight: 500;
  margin-bottom: 2rem;
}

.title-slide .presenter {
  margin-top: 3rem;
  font-size: 1.4rem;
  font-weight: 500;
}

.title-slide .role {
  font-size: 1.1rem;
  color: var(--light-text);
  margin-bottom: 1rem;
}

/* Content slides */
.slide h1 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
}

.slide h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-family: var(--font-heading);
  font-weight: 600;
}

.slide h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--accent-color);
  font-family: var(--font-heading);
  font-weight: 600;
}

.slide p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.slide ul, .slide ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.slide li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Two-column layout */
.two-columns {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.column {
  flex: 1;
}

/* Image styles */
.slide img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.image-container {
  text-align: center;
  margin: 1.5rem 0;
}

.image-caption {
  font-size: 0.9rem;
  color: var(--light-text);
  text-align: center;
  margin-top: 0.5rem;
}

/* Quote styles */
blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--light-text);
}

/* Highlight box */
.highlight-box {
  background-color: rgba(79, 70, 229, 0.1);
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 8px 8px 0;
}

.highlight-box h3 {
  color: var(--secondary-color);
  margin-top: 0;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 2rem 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.timeline-date {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Stats */
.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  flex: 1;
  min-width: 200px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

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

/* Footer */
.slide-footer {
  position: absolute;
  bottom: 20px;
  left: 40px;
  right: 40px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--light-text);
}

/* Navigation controls */
.slide-nav {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.nav-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s;
}

.nav-button:hover {
  background-color: var(--secondary-color);
}

/* Print styles */
@media print {
  .slide {
    box-shadow: none;
    border: 1px solid var(--border-color);
    page-break-after: always;
    min-height: auto;
  }
  
  .slide-nav {
    display: none;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .slide {
    padding: 20px;
  }
  
  .title-slide h1 {
    font-size: 2rem;
  }
  
  .title-slide h2 {
    font-size: 1.4rem;
  }
  
  .two-columns {
    flex-direction: column;
  }
  
  .stats-container {
    flex-direction: column;
  }
  
  .stat-item {
    margin-bottom: 1rem;
  }
}

/* Company-specific colors */
.softgen-color {
  color: #4f46e5;
}

.kortix-color {
  color: #8b5cf6;
}

/* Logo styles */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.logo {
  max-height: 80px;
  margin: 0 1rem;
}

/* Journey arrow */
.journey-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.journey-arrow .arrow {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0 1rem;
}

/* Enhanced Growth Chart */
.growth-chart-container {
  width: 100%;
  margin: 2rem 0;
  padding: 2rem;
  background-color: rgba(79, 70, 229, 0.05);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.growth-chart-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 12px 12px 0 0;
}

.growth-chart-header {
  text-align: center;
  margin-bottom: 2rem;
}

.growth-chart-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.growth-chart-subtitle {
  font-size: 1.1rem;
  color: var(--light-text);
  margin-top: 0.5rem;
}

.growth-chart-visual {
  position: relative;
  height: 350px;
  margin: 3rem 1rem 2rem;
  border-left: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
}

.growth-chart-visual::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background-image: 
    linear-gradient(to bottom, transparent 19.5%, var(--border-color) 20%, transparent 20.5%),
    linear-gradient(to bottom, transparent 39.5%, var(--border-color) 40%, transparent 40.5%),
    linear-gradient(to bottom, transparent 59.5%, var(--border-color) 60%, transparent 60.5%),
    linear-gradient(to bottom, transparent 79.5%, var(--border-color) 80%, transparent 80.5%);
  opacity: 0.3;
  z-index: 0;
}

.growth-chart-bars {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 300px;
  position: relative;
  z-index: 1;
  padding-left: 20px;
}

.growth-chart-bar {
  width: 14%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.growth-bar-fill {
  width: 70%;
  background: linear-gradient(to top, var(--primary-color), var(--accent-color));
  border-radius: 8px 8px 0 0;
  transition: height 1.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  height: 0;
  position: absolute;
  bottom: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.growth-bar-fill::after {
  content: attr(data-height);
  position: absolute;
  top: -25px;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease 1s;
}

.growth-bar-fill.animated::after {
  opacity: 1;
  transform: translateY(0);
}

.growth-bar-label {
  position: absolute;
  top: -35px;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.growth-bar-month {
  position: absolute;
  bottom: -30px;
  font-weight: 600;
  color: var(--light-text);
}

.growth-chart-axis {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-color);
}

/* Y-axis labels */
.growth-chart-visual::after {
  content: '$0 $100K $200K $300K $400K $500K';
  position: absolute;
  left: -65px;
  top: 0;
  height: 100%;
  width: 60px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--light-text);
  font-weight: 600;
  line-height: 1;
  transform: translateY(10px);
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.comparison-table th, .comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: rgba(79, 70, 229, 0.1);
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Key points */
.key-points {
  margin: 2rem 0;
}

.key-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.key-point-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 1rem;
  font-weight: bold;
}

.key-point-content {
  flex: 1;
}

.key-point-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Thank you slide */
.thank-you-slide {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.thank-you-slide h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.thank-you-slide .contact {
  margin-top: 3rem;
}

.thank-you-slide .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s;
}

.social-link:hover {
  background-color: var(--secondary-color);
}

/* Suna Creation Slide */
.suna-creation-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 2rem;
}

.suna-logo {
  margin-bottom: 2rem;
  max-width: 300px;
}

.suna-logo img {
  max-width: 100%;
  height: auto;
}

.suna-tagline {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.suna-description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.suna-cta {
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.suna-cta a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.suna-cta a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}