/* Welcome Trial Page Styles */
:root {
  /* Base colors */
  --accent-color: #6366f1;  /* Indigo 500 */
  --accent-light: #a5b4fc;  /* Indigo 300 */
  --accent-dark: #4f46e5;   /* Indigo 600 */
  
  /* Neutral colors */
  --neutral-0: #ffffff;
  --neutral-50: #f9fafb;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-300: #d1d5db;
  --neutral-400: #9ca3af;
  --neutral-500: #6b7280;
  --neutral-600: #4b5563;
  --neutral-700: #374151;
  --neutral-800: #1f2937;
  --neutral-900: #111827;
  
  /* Semantic colors */
  --success-color: #10b981;  /* Emerald 500 */
  --error-color: #ef4444;    /* Red 500 */
  --warning-color: #f59e0b;  /* Amber 500 */
  --info-color: #3b82f6;     /* Blue 500 */
  
  /* UI colors */
  --bg-color: var(--neutral-50);
  --text-color: var(--neutral-800);
  --border-color: var(--neutral-200);
  --card-bg: white;
  --card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --modal-overlay: rgba(0, 0, 0, 0.5);
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --text-muted: var(--neutral-500);
  
  /* Borders */
  --radius-sm: 0.25rem;
  --radius: 0.375rem;
  --radius-lg: 0.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 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);
  
  /* Transitions */
  --transition-base: all 0.2s ease-in-out;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
  font-size: 1rem;
  font-weight: 400;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

*, *::before, *::after {
  box-sizing: border-box;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
header {
  background-color: var(--neutral-50);
  box-shadow: var(--shadow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo styles */
.section-logo {
  
  height: 60px;
  margin-right: 8px;
  vertical-align: middle;
}

.logo h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0;
}

/* Header and Navigation */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--neutral-700);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.main-nav a.active {
  color: var(--accent-color);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-color);
}

.main-nav a.signup-link {
  background-color: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.main-nav a.signup-link:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Mobile navigation */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .main-nav a.active::after {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(to right, #f9fafb, #f3f4f6);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.intro-text {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--neutral-600);
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-size: 1.125rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: white;
}

.small-text {
  font-size: 0.875rem;
  color: var(--neutral-500);
  margin-top: 0.75rem;
}

/* Demo section with header */
.demo-section {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: center;
}

.demo-header {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  display: block;
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
  background-color: var(--card-bg);
}

.benefits h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--neutral-800);
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.benefit {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  padding: 2rem;
  background-color: var(--neutral-50);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
  transform: translateY(-5px) scale(1.02);
}

.benefit img {
  width: 96px;
  height: 96px;
  margin-bottom: 0.7rem;
}

.benefit h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.benefit p {
  color: var(--neutral-600);
  line-height: 1.6;
}

/* How it Works Section */
.how-it-works {
  padding: 5rem 0;
  background-color: var(--neutral-50);
}

.how-it-works h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--neutral-800);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 900px;
}

.step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  position: relative;
}

.step span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: white;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.step p {
  font-weight: 500;
  color: var(--neutral-700);
}

/* Testimonials Section */
.social-proof {
  padding: 5rem 0;
  background-color: var(--card-bg);
}

.social-proof h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--neutral-800);
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  padding: 2rem;
  border-radius: var(--radius);
  background-color: var(--neutral-50);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial p {
  font-style: italic;
  color: var(--neutral-700);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial .author {
  font-weight: 600;
  color: var(--neutral-800);
  text-align: right;
}

/* Footer Styles */

.playground-footer {
  background-color: #f9fafb;
  margin-top: 2rem;
  padding-top: 1rem;
}

.footer-separator {
  border: none;
  border-top: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--neutral-600);

}

.footer-left {
  /* Aligns with container padding, similar to logo */
}

.copyright-text {
  margin: 0;
}

.footer-right {
  display: flex;
  gap: 1.5rem; /* Matches main nav gap */
  /* Aligns with container padding, similar to user icon area */
}

.footer-right a {
  color: var(--neutral-600);
  text-decoration: none;
}

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

/* Adjust footer alignment for smaller screens if needed */
@media (max-width: 768px) {
  .footer-content {
      flex-direction: column;
      gap: 0.5rem;
      align-items: center; /* Center items on smaller screens */
      text-align: center;
  }

  .footer-right {
      margin-top: 0.5rem;
  }
}
/* Animation classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Update benefit and step styles to be visible by default */
.benefit, .step {
  opacity: 1; /* Start visible by default */
  transform: translateY(0); /* No transform by default */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Only apply initial animation state when JavaScript is available */
.js-enabled .benefit:not(.animated), 
.js-enabled .step:not(.animated) {
  opacity: 0;
  transform: translateY(20px);
}

.benefit.animated, .step.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Add a subtle pulse animation to the CTA button */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

.cta-button {
  animation: pulse 2s infinite;
}

/* Add styles for flash messages */
.flashes {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.flashes li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
}

.flashes li.success {
  background-color: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}

.flashes li.error {
  background-color: #fee2e2;
  color: #991b1b;
  border-left: 4px solid #ef4444;
}

.flashes li.info {
  background-color: #dbeafe;
  color: #1e40af;
  border-left: 4px solid #3b82f6;
}

.flashes li.warning {
  background-color: #fef3c7;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}

/* User Tour Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: var(--modal-overlay);
}

#user-tour-modal .modal-content {
  background-color: var(--card-bg);
  margin: 5% auto;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  width: 90%;
  position: relative;
}

#user-tour-modal .close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--neutral-500);
  cursor: pointer;
  transition: color 0.2s ease;
}

#user-tour-modal .close-button:hover {
  color: var(--neutral-800);
}

#user-tour-modal h2 {
  color: var(--accent-color);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

#user-tour-modal p {
  color: var(--neutral-700);
  margin-bottom: 1.5rem;
}

.tour-step {
  display: none;
  margin-bottom: 1.5rem;
}

.tour-step.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.tour-step img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 0.5rem;
}

.tour-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--neutral-200);
}

.tour-navigation button {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--neutral-300);
}

#tour-prev-button, #tour-skip-button {
  background-color: var(--neutral-100);
  color: var(--neutral-700);
}

#tour-prev-button:hover, #tour-skip-button:hover {
  background-color: var(--neutral-200);
}

#tour-prev-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#tour-next-button {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

#tour-next-button:hover {
  background-color: var(--accent-dark);
}

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