/* Prettier with printWidth: 80 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

:root {
  --bg-color: #fdfaf4;
  --primary-color: #6f4e37;
  --primary-hover: #5a3f2d;
  --text-color-primary: #5a3f2d;
  --text-color-secondary: #8d6e63;
  --card-bg: #ffffff;
  --card-border: #e0d8c7;
  --white: #ffffff;
  --success-color: #2e7d32;
  --failure-color: #ef5350;
  --monday-color: #fef3c7;
  --wednesday-color: #dbeafe;
  --friday-color: #fee2e2;
  --disabled-bg: #cccccc;
  /* New variable for disabled background */
  --disabled-text: #999999;
  /* New variable for disabled text color */
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color-primary);
  line-height: 1.6;
  background-color: var(--bg-color);
  min-height: 100vh;
}

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Nav */
header {
  padding: 1.5rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 45px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color-primary);
  text-decoration: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  list-style: none;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(111, 78, 55, 0.3);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

/* --- NEW: Disabled Button Styling --- */
.btn:disabled {
  background-color: var(--disabled-bg);
  /* Use a grey background */
  color: var(--disabled-text);
  /* Grey text */
  cursor: not-allowed;
  /* Indicate it's not clickable */
  box-shadow: none;
  /* Remove shadow for a flat, disabled look */
  opacity: 0.7;
  /* Optionally make it slightly transparent */
}

/* Ensure hover styles don't apply to disabled buttons */
.btn:disabled:hover {
  background-color: var(--disabled-bg);
  /* Keep the disabled background on hover */
  color: var(--disabled-text);
  /* Keep the disabled text color on hover */
}

/* Hero Section */
.hero {
  padding: 4rem 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.hero-animation {
  flex-basis: 50%;
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-content {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-logo-main {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-color-primary);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-content .subtitle {
  font-size: 1.25rem;
  color: var(--text-color-secondary);
  margin-bottom: 2rem;
  max-width: 450px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  max-width: 85%;
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.user-bubble {
  background-color: var(--primary-color);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: 0.2s;
}

.ai-reply-container {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: 1s;
}

.ai-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-color);
  border: 1px solid var(--card-border);
  flex-shrink: 0;
}

.ai-bubble {
  background-color: #f3f4f6;
  color: var(--text-color-secondary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.task-results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  width: 100%;
}

.task-card {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.task-card span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-color-secondary);
  background-color: rgba(0, 0, 0, 0.04);
  padding: 0.1rem 0.5rem;
  border-radius: 6px;
}

.task-card.monday {
  background-color: var(--monday-color);
  animation-delay: 2s;
}

.task-card.wednesday {
  background-color: var(--wednesday-color);
  animation-delay: 2.2s;
}

.task-card.friday {
  background-color: var(--friday-color);
  animation-delay: 2.4s;
}

/* Other Sections (Features, Pricing, Signup) */
.features,
.pricing,
.signup {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.features h2,
.pricing h2,
.signup h2 {
  font-size: 2.25rem;
  margin-bottom: 3rem;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: left;
}

.feature-card,
.pricing-card,
.signup-box {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
  padding: 2rem;
}

/* --- NEW: Pricing Page Specific Layout --- */
.pricing-layout {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.pricing-layout .pricing-card {
  flex: 1;
  /* Take up half the space */
  text-align: left;
}

.pricing-explanation {
  flex: 1;
  /* Take up the other half */
  text-align: left;
}

.pricing-explanation h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color-primary);
}

.pricing-explanation p {
  color: var(--text-color-secondary);
  line-height: 1.7;
}

.pricing-explanation p:last-of-type {
  margin-top: 1rem;
}

/* --- EXISTING: Pricing Card Styling --- */
.pricing-card h3 {
  font-size: 1.75rem;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color-secondary);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pricing-card ul li {
  margin-bottom: 0.75rem;
  position: relative;
}

/* Signup Page Specifics */
.signup-box {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

#waitlist-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#waitlist-form input {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background-color: var(--bg-color);
  font-size: 1rem;
  color: var(--text-color-primary);
}

#waitlist-form input::placeholder {
  color: var(--text-color-secondary);
}

.success-message {
  display: none;
  margin-top: 1rem;
  color: var(--success-color);
  font-weight: 600;
}

.error-message {
  display: none;
  margin-top: 1rem;
  color: var(--failure-color);
  font-weight: 600;
}

/* Footer */
footer {
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: var(--text-color-secondary);
  margin-top: 4rem;
  text-align: center;
}

/* --- RESPONSIVE ENHANCEMENTS --- */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-container {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content .subtitle {
    font-size: 1.1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .features h2,
  .pricing h2,
  .signup h2 {
    font-size: 1.75rem;
  }

  /* --- NEW: Stack pricing columns on mobile --- */
  .pricing-layout {
    flex-direction: column;
    gap: 2.5rem;
  }

  .pricing-explanation {
    text-align: center;
  }
}
