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

:root {
  --primary-blue: #007AFF;
  --primary-blue-hover: #0062CC;
  --success-green: #4CAF50;
  --text-primary: #000;
  --text-secondary: #666;
  --text-tertiary: #999;
  --background-light: #F5F5F5;
  --background-selected: #E3F2FD;
  --border-selected: #007AFF;
  --white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--white);
  color: var(--text-primary);
  overflow-x: hidden;
}

#onboarding-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

/* Progress Indicator */
.progress-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  gap: 8px;
  min-height: 60px;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #E0E0E0;
  transition: all 0.3s ease;
}

.progress-dot.active {
  background-color: var(--primary-blue);
}

.progress-dot.current {
  width: 20px;
  background-color: var(--primary-blue);
}

/* Slide Container */
.slide-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 24px 20px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide Header */
.slide-header {
  text-align: center;
  margin-bottom: 32px;
}

.slide-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.slide-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Slide Body */
.slide-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Welcome Slide */
.welcome-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 100px);
}

.welcome-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background-color: var(--background-selected);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.icon-circle svg {
  width: 48px;
  height: 48px;
  fill: var(--primary-blue);
}

.app-name {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-primary);
}

.welcome-content {
  text-align: center;
  padding: 0 20px;
}

.welcome-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.welcome-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

.welcome-button-container {
  padding: 0 20px 20px;
}

.terms-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.terms-link {
  color: var(--primary-blue);
  text-decoration: underline;
  cursor: pointer;
}

/* Customize Slide */
.customize-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.center-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brain-icon {
  font-size: 180px;
  color: var(--primary-blue);
}

/* Option Buttons */
.options-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
}

.option-button {
  background-color: var(--background-light);
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  color: #333;
}

.option-button:hover {
  background-color: #EBEBEB;
}

.option-button.selected {
  background-color: var(--background-selected);
  border-color: var(--border-selected);
  color: var(--primary-blue);
  font-weight: 500;
}

.option-button.single-select {
  justify-content: center;
  text-align: center;
}

.checkmark {
  font-size: 20px;
  color: var(--primary-blue);
}

/* Statement Slide */
.statement-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.statement-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
}

.icon-container {
  margin-bottom: 40px;
  font-size: 80px;
}

.statement-text {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
}

.statement-attribution {
  font-size: 16px;
  font-weight: 400;
  color: #666;
  text-align: center;
  margin-top: 12px;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  padding: 8px 12px;
  font-size: 16px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.learn-more-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.statement-subheading {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 24px;
}

/* Personalization Slide */
.personalization-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.progress-bar-container {
  padding: 15px 0;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.progress-bar {
  width: 80%;
  height: 8px;
  background-color: #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--primary-blue);
  border-radius: 4px;
  width: 0%;
}

.privacy-section {
  flex: 1;
  padding: 10px;
}

.privacy-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 28px;
  text-align: center;
}

.privacy-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.privacy-icon {
  font-size: 24px;
  margin-right: 12px;
  flex-shrink: 0;
}

.privacy-text-container {
  flex: 1;
}

.privacy-item-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.privacy-item-text {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

/* Trial Slide */
.trial-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trial-header {
  text-align: center;
  padding: 20px 0;
}

.trial-icon-container {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background-color: var(--background-selected);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.trial-icon-container svg {
  width: 60px;
  height: 60px;
  fill: var(--primary-blue);
}

.trial-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.trial-price-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.old-price {
  text-decoration: line-through;
  margin: 0 4px;
}

.trial-features {
  flex: 1;
  padding: 20px 0;
}

.trial-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 0 10px;
}

.trial-feature-icon {
  font-size: 32px;
  color: var(--success-green);
  margin-right: 12px;
  flex-shrink: 0;
}

.trial-feature-text {
  font-size: 19px;
  color: #333;
  line-height: 1.4;
  flex: 1;
}

/* Buttons */
.primary-button {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 16px;
  border-radius: 12px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: block;
}

.primary-button:hover {
  background-color: var(--primary-blue-hover);
}

.primary-button:disabled {
  background-color: #CCC;
  cursor: not-allowed;
}

.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 16px;
  background: none;
  border: none;
  cursor: pointer;
}

.secondary-button-text {
  color: var(--text-tertiary);
}

.secondary-button-link {
  color: var(--primary-blue);
  font-weight: 500;
  text-decoration: none;
}

.secondary-button-link:hover {
  text-decoration: underline;
}

/* Navigation */
.navigation-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
}

.back-button {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background-color: var(--background-light);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.back-button:hover {
  background-color: #EBEBEB;
}

.continue-button {
  flex: 1;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 16px;
  border-radius: 12px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.continue-button:hover {
  background-color: var(--primary-blue-hover);
}

.continue-button:disabled {
  background-color: #CCC;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 480px) {
  .slide-title {
    font-size: 24px;
  }

  .brain-icon {
    font-size: 140px;
  }

  .statement-text {
    font-size: 20px;
  }

  .option-button {
    font-size: 16px;
    padding: 14px 18px;
  }
}

@media (min-width: 768px) {
  .slide-container {
    padding: 0 40px 40px;
  }

  .welcome-logo-container {
    margin-top: 80px;
  }
}
