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

:root {
  --bg: #ffffff;
  --text: #111111;
  --text-secondary: #555555;
  --link: #555555;
  --link-hover: #111111;
  --border: #e5e5e5;
  --dot-color: #e5e5e5;
}

:root.dark {
  --bg: #111111;
  --text: #dedede;
  --text-secondary: #888888;
  --link: #888888;
  --link-hover: #dedede;
  --border: #333333;
  --dot-color: #222222;
}

body {
  font-family: "DM Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23e5e5e5'/%3E%3C/svg%3E");
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  transition: background 0.2s, color 0.2s;
}

:root.dark body {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23222222'/%3E%3C/svg%3E");
}

.container {
  max-width: 65ch;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

header {
  margin-bottom: 3rem;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

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

nav a:hover {
  color: var(--link-hover);
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

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

a:hover {
  color: var(--link-hover);
}

p a:not(.badge) {
  border-bottom: 1px solid var(--link);
}

p a:not(.badge):hover {
  border-bottom-color: var(--link-hover);
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: var(--link);
  transition: color 0.2s;
}

.theme-toggle:hover {
  color: var(--link-hover);
}

.theme-toggle svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
}

.intro {
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.5rem;
  background: var(--border);
  border-radius: 16px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section {
  margin-bottom: 2.5rem;
}

.links {
  margin-top: 2rem;
}

.links a {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

.icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
}

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

ul li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
}

ul li::before {
  content: "·";
  margin-right: 0.5rem;
  color: var(--text-secondary);
  flex-shrink: 0;
  line-height: inherit;
}

/* Pricing Styles */
.pricing-plan {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.pricing-plan:last-child {
  border-bottom: none;
}

.pricing-plan h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pricing-plan .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.popular-tag {
  display: inline-block;
  font-size: 0.7rem;
  color: #3b82f6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 4px;
}

.plan-description {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-plan ul {
  margin-bottom: 1rem;
}

.pricing-plan ul li {
  font-size: 0.9rem;
}

.pricing-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  border-bottom: 1px solid var(--link);
}

.pricing-link:hover {
  color: var(--link-hover);
  border-bottom-color: var(--link-hover);
}

.whatsapp-icon {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
}

@media (max-width: 640px) {
  .container {
    padding: 2rem 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .pricing-carousel-container {
    padding: 0 2.5rem;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-arrow svg {
    width: 18px;
    height: 18px;
  }

  .pricing-price {
    font-size: 2rem;
  }
}
