:root {
  --bg: #ffffff;
  --text: #111827;
  --accent: #2563eb;
  --muted: #6b7280;
  --card-bg: #f9fafb;
}

[data-theme="dark"] {
  --bg: #1e1e1e;
  --text: #f1f1f1;
  --accent: #3b82f6;
  --muted: #9ca3af;
  --card-bg: #2b2b2b;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--card-bg);
}

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

.ai-accent {
  color: var(--accent);
  font-weight: 700;
}

.theme-btn {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  margin-right: 1rem;
}

/* Buttons */
.btn {
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
}

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

.btn.secondary {
  background: var(--card-bg);
  color: var(--text);
}

.btn:hover {
  opacity: 0.9;
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem;
}

.hero-content {
  max-width: 500px;
}

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

.chat-bubble {
  background: var(--card-bg);
  padding: 1rem 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 3px;
  background-color: var(--muted);
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.2s infinite;
}

.dot:nth-child(2){animation-delay:0.2s;}
.dot:nth-child(3){animation-delay:0.4s;}

@keyframes blink {
  0%,80%,100% {opacity:0.3;}
  40% {opacity:1;}
}

/* Sections */
section {
  padding: 3rem 2rem;
  text-align: center;
}

.steps-grid, .features-grid, .pricing-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

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

.price-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 2rem;
}

.price-card.featured {
  border: 2px solid var(--accent);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
}

/* CTA */
.cta {
  background: var(--accent);
  color: white;
  border-radius: 12px;
  margin: 3rem 2rem;
  padding: 2rem;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--card-bg);
}

.brand {
  color: var(--muted);
}

/* Modal */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--bg);
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
}

.hidden { display: none; }

.modal input {
  width: 100%;
  padding: 0.6rem;
  margin: 0.5rem 0;
  border-radius: 6px;
  border: 1px solid var(--muted);
}
