/* Global Styles */
:root {
  --n8n-color: #ff6d5a;
  --total-color: #4285f4;
  --accent-color: #6c63ff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #333333;
  --success-color: #28a745;
  --warning-color: #ffc107;
}

body {
  font-family: 'Kanit', 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.cursor-pointer * {
  cursor: pointer !important;
}

.reveal {
  font-size: 1.6rem;
}

.reveal h1 {
  font-size: 2.8rem;
  color: var(--dark-gray);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.reveal h2 {
  font-size: 2.2rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.reveal h3 {
  font-size: 1.6rem;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.reveal p {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.reveal ul, .reveal ol {
  display: inline-block;
  text-align: left;
  line-height: 1.5;
}

.reveal li {
  margin-bottom: 0.5rem;
}

/* Logo and Title Section */
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.logo {
  max-width: 150px;
  max-height: 150px;
  margin: 0 1.5rem;
}

.date {
  font-size: 1.2rem;
  margin-top: 2rem;
  color: var(--dark-gray);
  font-style: italic;
}

/* Split Layout */
.split {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.column {
  flex: 1;
  padding: 0 1rem;
  text-align: left;
}

.column:first-child {
  border-right: 1px solid var(--medium-gray);
}

/* Pricing Cards */
.pricing-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.pricing-card {
  flex: 1;
  max-width: 350px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.pricing-card .price-note {
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-style: italic;
}

.pricing-card ul {
  text-align: left;
  margin-left: 1rem;
  padding-left: 1rem;
}

.pricing-card.highlight {
  border: 2px solid var(--accent-color);
  transform: scale(1.05);
}

.pricing-card.highlight:hover {
  transform: scale(1.05) translateY(-5px);
}

.note {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--dark-gray);
  margin-top: 1rem;
}

/* Feature Table */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9em;
}

.feature-table th {
  background-color: var(--accent-color);
  color: white;
  padding: 0.8rem;
  text-align: center;
}

.feature-table td {
  padding: 0.8rem;
  border: 1px solid var(--medium-gray);
  text-align: center;
}

.feature-table tr:nth-child(even) {
  background-color: var(--light-gray);
}

/* Detailed Comparison */
.summary-table {
  max-width: 80%;
  margin: 0 auto 2rem auto;
}

.comparison-flex {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1rem;
  max-height: 50vh;
  overflow-y: auto;
}

.comparison-column {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.comparison-column h3 {
  color: var(--accent-color);
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.comparison-column ul {
  padding-left: 1.5rem;
  margin: 0;
}

.winner {
  background-color: rgba(108, 99, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  margin-top: 1rem;
  display: inline-block;
  border-left: 4px solid var(--accent-color);
}

.winner h4 {
  margin: 0.5rem 0;
  color: var(--dark-gray);
}

.winner p {
  margin: 0.5rem 0;
  font-style: italic;
}

/* Score Table */
.score-table td {
  text-align: center;
}

.score-table .total-row {
  background-color: rgba(108, 99, 255, 0.1);
  font-weight: bold;
}

.score-table .total-row td {
  border-top: 2px solid var(--accent-color);
}

/* Pros and Cons */
.pros-cons {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.pros, .cons {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pros h3 {
  color: var(--success-color);
  margin-bottom: 1rem;
}

.cons h3 {
  color: var(--warning-color);
  margin-bottom: 1rem;
}

.pros ul, .cons ul {
  padding-left: 1.5rem;
}

/* Use Cases */
.use-cases {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.use-cases li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  background-color: white;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.use-cases li:hover {
  transform: translateX(5px);
}

.use-case-icon {
  font-size: 2.5rem;
  margin-right: 1.5rem;
  min-width: 3rem;
  text-align: center;
}

.use-case-content {
  flex: 1;
}

.use-case-content h3 {
  margin-top: 0;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.use-case-content p {
  margin: 0;
  font-size: 1.2rem;
}

/* Conclusion */
.conclusion {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 1.5rem;
}

.conclusion p {
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.6;
}

.conclusion .tip {
  font-style: italic;
  color: var(--accent-color);
  margin-top: 1.5rem;
  font-weight: bold;
}

.conclusion .split .column {
  padding: 1rem;
  border-radius: 8px;
  background-color: var(--light-gray);
}

.conclusion .split .column:first-child {
  border-right: none;
  margin-right: 1rem;
}

.conclusion h3 {
  text-align: center;
  color: var(--accent-color);
}

/* Final Slide */
.divider {
  margin: 0 1rem;
  color: var(--medium-gray);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .split,
  .pros-cons,
  .pricing-container {
    flex-direction: column;
    align-items: center;
  }
  
  .column:first-child {
    border-right: none;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
  
  .pricing-card {
    margin-bottom: 1.5rem;
  }
  
  .pricing-card.highlight {
    transform: none;
  }
  
  .use-cases li {
    flex-direction: column;
    align-items: center;
  }
  
  .use-case-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .use-case-content {
    text-align: center;
  }
  
  .feature-table, 
  .score-table,
  .summary-table {
    font-size: 0.7em;
  }
  
  .comparison-flex {
    flex-direction: column;
    max-height: none;
  }
  
  .comparison-column {
    margin-bottom: 1rem;
  }
  
  .reveal {
    font-size: 1.4rem;
  }
  
  .winner {
    width: 90%;
    margin: 1rem auto;
    text-align: center;
  }
}