:root {
  --color-bg: #f7f7fa;
  --color-bg-tint: #f0eefc;
  --color-primary: #7a70c0;
  --color-secondary: #99c2e7;
  --color-dark: #343559;
  --color-grey: #767998;
  --color-error: #5e608d;
  --radius: 14px;
  --max-width: 1200px;
  --family: Arial, Helvetica, sans-serif;
  /* --family: Roboto; */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--family);
  background: var(--color-bg);
  color: var(--color-dark);
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  background: var(--color-bg-tint);
  padding: 20px 0 10px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--color-primary);
}

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

.registration-btn {
  font-size: 0.9rem;
  transition: background 0.2s;
}

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

.login-btn {
  padding: 8px 18px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  color: var(--color-primary);
  font-size: 0.9rem;
  transition: background 0.2s;
}

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

.hero-wrapper {
  background: transparent;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1 1 480px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-buttons a {
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.2s;
}

.hero-buttons a.primary {
  background: var(--color-primary);
  color: #fff;
}

.hero-buttons a.primary:hover {
  opacity: 0.9;
}

.hero-image {
  flex: 1 1 350px;
  text-align: center;
}

.hero-image img {
  max-width: 420px;
  width: 100%;
  height: auto;
}

section {
  padding: 30px 0;
}

.section-title {
  text-align: center;
  color: var(--color-primary);
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  flex: 1 1 calc(45% - 30px);
  max-width: calc(45% - 30px);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.card,
.work-card,
.feature-item,
.benefit-item {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover,
.work-card:hover,
.feature-item:hover,
.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
}

.card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 36px;
  height: 36px;
}

.card-content h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.card-content p {
  margin: 0;
  color: var(--color-grey);
  font-size: 0.95rem;
}

.how-assist {
  background: var(--color-bg-tint);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

/* Mission section */
.mission-section {
  background: var(--color-bg-tint);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  margin: 60px auto;
  max-width: var(--max-width);
  text-align: center;
}

.mission-section h3 {
  margin: 0 0 20px;
  font-size: 2rem;
  color: var(--color-primary);
}

.mission-section p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-dark);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* How it works cards */
.work-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 20px;
  margin-bottom: 20px;
}

.work-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 30px;
  flex: 1 1 calc(30% - 20px);
  max-width: calc(30% - 20px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.work-card .circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.work-card .circle img {
  width: 36px;
  height: 36px;
}

.work-card h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.work-card p {
  margin: 0;
  color: var(--color-grey);
  font-size: 0.95rem;
}

.work-arrow {
  align-self: center;
  font-size: 2rem;
  color: var(--color-primary);
  margin: 0 10px;
}

/* Assistant row */
.assistant-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}

.assistant-text {
  flex: 1 1 300px;
}

.assistant-text h3 {
  margin: 0 0 15px;
  color: var(--color-primary);
  font-size: 2rem;
}

.assistant-text p {
  margin: 0;
  color: var(--color-grey);
  font-size: 1rem;
}

.assistant-pets {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.assistant-pet {
  text-align: center;
}

.assistant-pet img {
  width: 100px;
  height: auto;
}

.assistant-pet span {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  color: var(--color-dark);
}

/* How it works & Assistant combined */
.how-assist {
  background: var(--color-bg-tint);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.diagram-box {
  background: #fff;
  padding: 20px 25px;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-size: 1rem;
  flex: 1 1 200px;
}

.arrow {
  font-size: 1.8rem;
  color: var(--color-primary);
}

.bullets {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullets li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--color-dark);
}

.bullets li .check {
  color: var(--color-primary);
  font-weight: bold;
  margin-right: 10px;
}

.pets {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.pet {
  text-align: center;
}

.pet img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.pet span {
  font-size: 1rem;
  color: var(--color-dark);
}

/* Features & Benefits sections */
.feature-grid,
.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.feature-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  flex: 1 1 calc(30% - 30px);
  max-width: calc(30% - 30px);
  text-align: center;
}

.benefit-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  flex: 1 1 calc(45% - 30px);
  max-width: calc(45% - 30px);
  text-align: center;
}

.feature-item .icon,
.benefit-item .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.feature-item h4,
.benefit-item h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.feature-item p,
.benefit-item p {
  margin: 0;
  color: var(--color-grey);
  font-size: 0.95rem;
}

/* Cases slider */
.cases {
  text-align: center;
}

.slider {
  position: relative;
  max-width: 600px;
  overflow: hidden;
}

.slide {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.slide.active {
  display: flex;
}

.slide-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #e0e0f5;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
}

.slide h4 {
  margin: 0 0 5px;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.slide p {
  margin: 0;
  color: var(--color-grey);
  font-size: 0.95rem;
  max-width: 500px;
}

.slider-nav {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-nav button {
  padding: 8px 14px;
  border: none;
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 4rem;
  cursor: pointer;
  margin-bottom: 7rem;
}

/* CTA form */
.cta {
  background: var(--color-bg-tint);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.cta-inner {
  max-width: 500px;
  margin: 0 auto;
}

.cta-inner h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 1.8rem;
}

.cta-inner p {
  text-align: center;
  color: var(--color-grey);
  font-size: 1rem;
  margin-bottom: 20px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cta-form-input {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.cta-form label {
  font-size: 0.9rem;
  color: var(--color-dark);
}

.cta-form input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.error {
  font-size: 0.7rem;
  color: var(--color-error);
  margin: 4px 0px 0px 4px;
}

.consent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.policy-agreement,
.news-subscription {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cta-form--btns {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 10px;
}

.cta-form button {
  padding: 14px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
}

.cta-form .primary-btn {
  background: var(--color-primary);
  color: #fff;
}

.cta-form .primary-btn:hover {
  opacity: 0.9;
}

.cta-counter {
  text-align: center;
  font-size: 1rem;
  color: var(--color-primary);
  margin-top: 10px;
}

.privacy {
  font-size: 0.8rem;
  color: var(--color-grey);
}

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

.conf:hover {
  color: var(--color-dark);
}

/* FAQ */
.faq {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item summary {
  padding: 15px 25px 15px 20px;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  color: var(--color-primary);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:after {
  content: '\25BC';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
  color: var(--color-primary);
}

.faq-item[open] summary:after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
  padding: 0 20px 15px;
  color: var(--color-grey);
  font-size: 0.95rem;
  margin: 0;
}

/* Footer */
footer {
  background: var(--color-dark);
  color: #fff;
  padding: 20px 0;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-love {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-secondary);
}

.footer-love svg {
  width: 16px;
  height: 16px;
  fill: var(--color-secondary);
}

.footer-links {
  text-align: center;
  flex: 1;
}

.footer-links a {
  color: var(--color-secondary);
  margin: 0 10px;
  font-size: 0.85rem;
}

.footer-links p {
  margin: 4px 0;
  color: var(--color-secondary);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-dark);
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
}

.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.scroll-animate.show {
  opacity: 1;
  transform: translateY(0);
}

.aevio-landing .scroll-animate {
  opacity: 1;
  transform: none;
}

/* Successful submission of form data */
.success-message {
  text-align: center;
  padding: 2rem;
  background: var(--color-bg);
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  color: var(--color-primary);
}

.success-message h3 {
  margin: 0 0 1rem 0;
  color: var(--color-primary);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Additional CSS styles */
.low-count {
  color: #c24f4fff !important;
  font-weight: bold;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

.waitlist-message {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    max-width: 320px;
    margin: 0 auto;
  }

  .card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .feature-item,
  .benefit-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .work-cards {
    flex-wrap: wrap;
  }

  .work-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .work-arrow {
    display: none;
  }
}
