/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --text: #0f172a;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-muted: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

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

.logo-icon {
  font-size: 1.5rem;
  background: var(--primary);
  color: white;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 600;
}

.nav-links {
  display: none;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .mobile-menu {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

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

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

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

.btn-outline:hover {
  background: var(--bg-muted);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  display: none;
}

.btn-ghost:hover {
  background: var(--bg-muted);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.full-width {
  width: 100%;
}

.icon {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 640px) {
  .btn-ghost {
    display: inline-flex;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--text-muted);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-primary {
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-gradient {
  position: absolute;
  top: -6rem;
  right: -10%;
  width: 18rem;
  height: 18rem;
  background: var(--primary);
  opacity: 0.1;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
}

/* Card */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-content {
  padding: 1.5rem;
}

/* Chat Bubbles */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-bubble {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  box-shadow: var(--shadow);
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 0.25rem;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: var(--bg-muted);
  color: var(--text);
  border-bottom-left-radius: 0.25rem;
}

.reminder-card {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.reminder-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.reminder-title {
  font-weight: 500;
  color: var(--text);
  margin: 0.25rem 0;
}

/* Logos Section */
.logos-section {
  padding: 2.5rem 0;
}

.logos-title {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  place-items: center;
  opacity: 0.8;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  background: var(--text);
  opacity: 0.4;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .logos-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Section */
.section {
  padding: 5rem 0;
}

.section-gray {
  background: var(--bg-muted);
}

.section-header {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-description {
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
}

/* Features Grid */
.features-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* How It Works */
.how-grid {
  display: grid;
  gap: 2rem;
}

.how-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.how-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.step-box {
  position: relative;
  padding: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  line-height: 1.5;
}

.step-icon {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 0.875rem;
}

.how-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quick-create-form {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.input {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: inherit;
}

.input:focus {
  outline: none;
  border-color: var(--primary);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  
  .quick-create-form {
    grid-template-columns: 1fr 1fr;
  }
  
  .quick-create-form button {
    grid-column: 1 / -1;
  }
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.pricing-card-pro {
  border-color: var(--primary);
  border-width: 1px;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FAQ */
.faq-container {
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
}

.faq-question {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA */
.cta-section {
  padding: 5rem 0;
}

.cta-card {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.cta-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .cta-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
  }
  
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

