
/* Basic Reset & Typography */
:root {
  --background-color: #ffffff;
  --text-color: #1a1a1a;
  --primary-color: #000000;
  --secondary-color: #f2f2f2;
  --border-color: #e5e5e5;
  --accent-color: #91006b; /* Added accent color */
  --shadow-color: rgba(67, 56, 202, 0.15);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  line-block-size: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-inline-size: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  animation: fadeInUp 0.5s ease-out forwards;

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

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

.cta-button {
  display: inline-block;
  background-color: var(--accent-color); /* Changed to accent color */
  color: var(--background-color);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--shadow-color);
  }
}


.hero {
  text-align: center;
  padding: 100px 0;

  h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.2s forwards;
  }

  p {
    font-size: 1.2rem;
    color: #666;
    max-inline-size: 600px;
    margin: 0 auto 40px auto;
    opacity: 0; /* For animation */
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
  }

  .cta-button {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.6s forwards;
  }
}

.logo {
  inline-size: 100px;
  block-size: auto;
  border-radius: 50%;
}

.how-it-works {
  background-color: var(--secondary-color);
  padding: 80px 0;
  text-align: center;

  h2 {
    font-size: 2rem;
    margin-bottom: 60px;
  }
}


.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.step {
  max-inline-size: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  &:hover {
    transform: translateY(-5px);
  }

  h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  p {
    color: #666;
  }
}


.step-icon {
  inline-size: 64px;
  block-size: 64px;
  background-color: var(--background-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 1px solid var(--border-color);
  transition: background-color 0.3s ease;

  svg {
    inline-size: 32px;
    block-size: 32px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
  }
}

.step:hover .step-icon {
  background-color: #eef2ff;
}



.step:hover .step-icon svg {
  transform: scale(1.1);
}

.features {
  padding: 80px 0;

  .container {
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: .5rem;
    max-inline-size: 90%;
  }
}


.feature-image {
  background-color: var(--secondary-color);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border-color);

  svg {
    inline-size: 100%;
    max-inline-size: 300px;
    block-size: auto;
  }
}
iframe {
  inline-size: 100%;
  block-size: 50rem;
  display: block;
}


.feature-list h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;

  h3 {
    margin-block-start: 0;
  }

  svg {
    flex-shrink: 0;
    margin-top: 5px;
    inline-size: 20px;
    block-size: 20px;
    color: var(--accent-color);
  }
}

.footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  color: #999;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .features .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header .container {
    flex-direction: column;
    gap: 20px;
  }
  .hero {
    h1 {
      font-size: 2rem;
    }

    p {
      font-size: 1rem;
    }
  }
}
