:root {
  --purple: #7b6cf6;
  --lavender: #f4f1ff;
  --dark: #1f1f3a;
  --muted: #6b6b8a;
}

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

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  background: #fff;
  background-image: url(images/bgimg.jpeg);
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  background:
    linear-gradient(rgba(123, 108, 246, .65), rgba(156, 140, 255, .65)),
    url("2219e53c-ccd1-4a2b-a00c-d59ca4bd2dae.jpeg");
  background-size: cover;
  background-position: center;
}

.aura-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  display: block;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .35);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}

.hero p {
  color: #f1efff;
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: .85rem 1.8rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  display: inline-block;
  text-decoration: none;
}

.btn-primary {
  background: #5f55f6;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.follow-text {
  margin-top: 1.6rem;
  color: #ffffff;
  font-size: .95rem;
  letter-spacing: 1px;
  opacity: .9;
}

/* Social Icons */
.social-icons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
}

/* ================= FEATURES (REDUCED CARD SIZE) ================= */
.features {
  padding: 5rem 1rem 6rem;
  background: #fff;
}

.features h2 {
  text-align: center;
  font-size: 2.2rem;
}

.features .subtitle {
  text-align: center;
  color: var(--muted);
  margin: 1rem auto 3.5rem;
  max-width: 520px;
  font-size: .95rem;
}

.feature-grid {
  max-width: 1050px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  background: rgba(255, 255, 255, .92);
  padding: 1.1rem 1.1rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(123, 108, 246, .18);
  box-shadow: 0 14px 32px rgba(12, 12, 40, 0.10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  backdrop-filter: saturate(140%) blur(2px);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: .45rem;
}

.card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(12, 12, 40, 0.14);
  border-color: rgba(123, 108, 246, .32);
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= TESTIMONIALS ================= */
.testimonials {
  padding: 6rem 1rem;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.3rem;
}

.testimonials .subtitle {
  text-align: center;
  color: var(--muted);
  margin-top: .8rem;
}

.test-grid {
  max-width: 1080px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.review {
  background: #faf9ff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .06);
  font-style: italic;
}

.stars {
  color: #f6c94c;
  margin-bottom: .6rem;
}

.user {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.2rem;
  font-style: normal;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ================= FAQ ================= */
.faq {
  background: #efeaff;
  padding: 6rem 1rem;
}

.faq h2 {
  text-align: center;
  font-size: 2.2rem;
}

.faq .subtitle {
  text-align: center;
  color: var(--muted);
  margin: 1rem auto 3rem;
}

.faq-box {
  max-width: 820px;
  margin: 1rem auto;
  background: #fff;
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.faq-box summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-box p {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .95rem;
}

/* ================= FOOTER ================= */
footer {
  background: linear-gradient(180deg, #060633, #02021d);
  color: #cfcfff;
  padding: 4rem 1rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

footer h4 {
  color: #fff;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
}

footer li {
  margin-bottom: .6rem;
  font-size: .9rem;
}

.download-btn {
  display: block;
  margin-bottom: .8rem;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  background: #fff;
  color: #000;
  text-align: center;
  font-size: .85rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: .8rem;
  opacity: .7;
}