:root {
  --color-primary: #FF0000;
  --color-primary-light: #ff3333;
  --color-primary-dark: #e60000;
  --color-secondary: #F5F5F5;
  --color-accent: #ff3333;
  --color-border: #e4e4e7;
  --color-muted: #71717a;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Base styles */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  color: #2D3436;
}

/* Container styles */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container-tight {
  max-width: 1280px;
}

.container-wide {
  max-width: 1536px;
}

/* Markdown content styles */
.markdown-content {
  font-size: 1rem;
  line-height: 1.75;
}

.markdown-content p {
  margin-bottom: 1.5rem;
  color: var(--color-muted);
}

.markdown-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.markdown-content ul ul {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.markdown-content li {
  margin-bottom: 0.5rem;
}

.markdown-content strong {
  font-weight: 600;
  color: #2D3436;
}

.markdown-content em {
  font-style: italic;
}

.markdown-content h1 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  line-height: 1.75;
}

.markdown-content h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  line-height: 1.75;
}

.markdown-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  line-height: 1.75;
}

.markdown-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
  line-height: 1.75;
}

.markdown-content a {
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.2s;
}

.markdown-content a:hover {
  color: #0284c7;
}

.markdown-content blockquote {
  border-left: 4px solid rgba(255, 0, 0, 0.2);
  padding-left: 1rem;
  font-style: italic;
  margin: 1.5rem 0;
  color: var(--color-muted);
}

.markdown-content code {
  background-color: rgba(245, 245, 245, 0.5);
  border-radius: 0.25rem;
  padding: 0.125rem 0.375rem;
  font-size: 0.875rem;
  font-family: monospace;
}

.markdown-content pre {
  background-color: rgba(245, 245, 245, 0.5);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.markdown-content pre code {
  background-color: transparent;
  padding: 0;
}

.markdown-content img {
  border-radius: 1rem;
  overflow: hidden;
  margin: 1.5rem 0;
}

.markdown-content table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
}

.markdown-content th {
  background-color: rgba(245, 245, 245, 0.5);
  padding: 0.5rem 1rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--color-border);
}

.markdown-content td {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: #2D3436;
}

.btn-secondary:hover {
  background-color: #e5e5e5;
}

.btn-ghost {
  color: #2D3436;
}

.btn-ghost:hover {
  background-color: rgba(245, 245, 245, 0.5);
  color: var(--color-primary);
}

/* Animation classes */
.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-400 {
  animation-delay: 0.4s;
}

.animation-delay-600 {
  animation-delay: 0.6s;
}

/* Animation keyframes */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { 
    opacity: 0; 
    transform: scale(0.95); 
  }
  to { 
    opacity: 1; 
    transform: scale(1); 
  }
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(20px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Partner logo styles */
.partner-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin: 1rem;
}

.partner-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 120px;
  padding: 1rem;
}

.main-partner-logo {
  max-width: 240px;
}

.supporting-partner-logo {
  max-width: 180px;
}

/* Special handling for logos that need custom sizing */
.partner-logo[src*="GREC_GSEM_logo"] {
  width: 100%;
  height: 100%;
  min-width: 200px;
  min-height: 100px;
  padding: 0;
  margin: 0;
  transform: scale(2.5);
  transform-origin: center;
}

.partner-logo-container:has([src*="GREC_GSEM_logo"]) {
  overflow: hidden;
  height: 120px;
}

/* Ensure SVG logos maintain proper sizing */
.partner-logo[src$=".svg"] {
  width: 100%;
  height: 100%;
}

.how-it-works-container {
  position: relative;
  padding: 2rem 0;
}

.how-it-works-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hand-drawn-arrow { /* removed arrows, keep placeholder if referenced elsewhere */ }

/* Desktop layout */
.step-spacer {
  display: block;
}
/* Mobile: stack vertically */
@media (max-width: 768px) {
  .how-it-works-step {
    flex-direction: column !important;
  }
  
  .step-spacer {
    display: none !important;
  }
  
  .how-it-works-step .how-it-works-card {
    width: 100%;
  }
} 