/* AEDA WALLET Landing Page Styles */

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

body {
  font-family:
    "Inter",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  color: #020617;
  line-height: 1.5;
  background-image: url('/images/dotted_grid-2.png');
  background-repeat: no-repeat;
  display: flex;
  padding: 194px 40px 20px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

/* Landing Container */
/*.landing-container {*/
/*  position: relative;*/
/*  */
/*}*/

.content-wrapper {
  z-index: 0;
  display: flex;
  max-width: 1300px;
  margin: auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;

  .grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* Hero Section */
.hero-section {
  z-index: 0;
  display: flex;
  width: 100%;
  padding: 84px 184px 84px 185px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  color: #020617;
  text-align: center;
  font-family:
    "Inter",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 80px;
  font-weight: 800;
  line-height: 104px;
  align-self: center;
  z-index: 0;
}

.hero-background {
  position: absolute;
  display: flex;
  justify-content: center;
  z-index: 0;
  height: 736px;
  max-width: 100%;
  bottom: -613px;
  transform: translate(-30%, 15%);
  min-height: 845px;
  width: 100%;
}

/* Waitlist Section */
.waitlist-section {
  align-self: center;
  z-index: 0;
  display: flex;
  margin-top: 441px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.waitlist-text {
  color: #020617;
  text-align: center;
  font-family:
    "Inter",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  width: 395px;
}

.waitlist-form-container {
  display: flex;
  margin-top: 48px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.waitlist-label {
  color: #64748b;
  text-align: center;
  font-family:
    "Inter",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.waitlist-form {
  display: flex;
  margin-top: 12px;
  align-items: stretch;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.input-container {
  align-self: flex-start;
  min-width: 240px;
  width: 343px;
  padding: 0;
  gap: 4px;
}

.input {
  position: relative;
}

.input-field {
  align-items: stretch;
  border-radius: 16px;
  display: flex;
  min-height: 56px;
  width: 100%;
  gap: 12px;
  justify-content: flex-start;
  padding: 16px 16px 16px 60px;
  background-color: #f3f4f6;
  border: none;
}

.input-icon {
  position: absolute;
  align-items: center;
  border-radius: 8px;
  display: flex;
  margin: auto 0;
  min-height: 40px;
  padding: 6px;
  gap: 10px;
  justify-content: flex-start;
  width: 40px;
  height: 40px;
  top: 8px;
  left: 10px;
  background: #E5E7EB;
}

.icon-mail {
  align-self: stretch;
  display: flex;
  justify-content: center;
  min-height: 28px;
  margin: auto 0;
  width: 100%;
  flex: 1 1 0;
}

.input-content {
  color: #64748b;
  align-self: stretch;
  flex: 1 1 12px;
  min-width: 240px;
  font-family:
    "Inter",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 16px;
  font-weight: 400;
  height: 100%;
  padding: 0;
}

.join-button {
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  display: flex;
  gap: 12px;
  font-family:
    "Inter",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 17px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
  height: 100%;
  width: 132px;
  padding: 16px 24px;
  background-color: #0275fe;
  cursor: pointer;
}

.button-text {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  color: #fff;
  text-overflow: ellipsis;
  align-self: stretch;
  margin: auto 0;
  height: 24px;
  gap: 10px;
}

.floating-image {
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  width: 150px;
  position: absolute;
  z-index: 0;
  max-width: 100%;
  right: 184px;
  bottom: 199px;
  height: 150px;
}

/* Features Section */
.features-section {
  align-self: center;
  z-index: 0;
  display: flex;
  margin-top: 54px;
  width: 1200px;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.features-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family:
    "Inter",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  color: #020617;
  justify-content: flex-start;
}

.features-title {
  color: #020617;
  font-size: 43px;
  font-weight: 800;
}

.features-subtitle {
  color: #020617;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 36px;
  margin-top: 24px;
  width: 450px;
}

.features-cards {
  display: flex;
  margin-top: 54px;
  width: 100%;
  max-width: 1200px;
  align-items: flex-start;
  gap: 24px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.feature-card {
  justify-content: center;
  border-radius: 20px;
  display: flex;
  min-width: 240px;
  height: 588px;
  padding: 24px;
  overflow: hidden;
  flex-grow: 1;
  flex-shrink: 1;
  width: 470px;
}

.privacy-card {
  align-items: flex-end;
  border: 1.5px solid #e2e8f0;
  padding-top: 0;
  background-color: #f3f4f6;
}

.wallet-card {
  align-items: flex-start;
  border: 1.5px solid #fcd34d;
  padding-bottom: 0;
  background-color: #fef3c7;
}

.notifications-card {
  align-items: flex-start;
  border: 1.5px solid #93c5fd;
  padding-bottom: 0;
  background-color: #dbeafe;
}

.personal-card {
  align-items: flex-end;
  border: 1.5px solid #e2e8f0;
  padding-top: 0;
  background-color: #f3f4f6;
}

.card-content {
  display: flex;
  min-width: 240px;
  width: 508px;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.card-image {
  background-blend-mode: normal;
  align-self: center;
  width: 314px;
  max-width: 100%;
  padding: 9px 9px 13px;
  overflow: hidden;
}

.wallet-card .card-image,
.notifications-card .card-image {
  margin-top: 24px;
  padding: 9px 9px 6px;
}

.card-img {
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.privacy-card .card-img {
  aspect-ratio: 0.77;
}

.wallet-card .card-img {
  aspect-ratio: 0.76;
}

.notifications-card .card-img {
  aspect-ratio: 0.69;
}

.personal-card .card-img {
  aspect-ratio: 0.7;
}

.card-text {
  margin-top: 24px;
  width: 100%;
  font-family:
    "Inter",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
}

.wallet-card .card-text,
.notifications-card .card-text {
  margin-top: 0;
}

.card-tag {
  color: #64748b;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.card-description {
  margin-top: 8px;
  width: 100%;
  letter-spacing: -1px;
}

.privacy-card .card-description,
.personal-card .card-description {
  color: #334155;
}

.wallet-card .card-description {
  color: #f97316;
}

.notifications-card .card-description {
  color: #3b82f6;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}

.personal-card .card-title,
.notifications-card .card-title {
  line-height: normal;
}

.card-subtitle {
  font-size: 18px;
  font-weight: 400;
  margin-top: 8px;
}

/* CTA Section */
.cta-section {
  z-index: 0;
  display: flex;
  margin-top: 54px;
  width: 100%;
  padding: 84px 320px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.cta-icon {
  display: flex;
  min-height: 140px;
  width: 140px;
  max-width: 100%;
}

.cta-content {
  display: flex;
  margin-top: 48px;
  flex-direction: column;
  align-items: center;
  font-family:
    "Inter",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  color: #020617;
  justify-content: flex-start;
}

.cta-title {
  color: #020617;
  font-size: 70px;
  font-weight: 800;
  line-height: 1.3;
}

.cta-subtitle {
  color: #020617;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  margin-top: 24px;
}

.cta-form {
  display: flex;
  margin-top: 48px;
  align-items: stretch;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  display: flex;
  width: 100%;
  padding: 100px 0;
  flex-direction: column;
  align-items: center;
  font-family:
    "Inter",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-weight: 500;
  justify-content: flex-start;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #64748b;
  justify-content: flex-start;
}

.footer-logo {
  display: flex;
  width: 193px;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  font-family:
    "League Spartan",
    -apple-system,
    Roboto,
    Helvetica,
    sans-serif;
  font-size: 28px;
  white-space: nowrap;
  justify-content: center;
}

.logo-img {
  aspect-ratio: 3.32;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.logo-text {
  color: #64748b;
  margin-top: 12px;
}

.footer-tagline {
  color: #334155;
  font-size: 18px;
  line-height: 2;
  margin-top: 24px;
}

.footer-links {
  display: flex;
  margin-top: 24px;
  align-items: flex-start;
  gap: 54px;
  font-size: 16px;
  line-height: 1;
  justify-content: center;
}

.footer-link {
  color: #64748b;
  cursor: pointer;
}

.footer-link:hover {
  text-decoration: underline;
}

.copyright {
  color: #94a3b8;
  font-size: 14px;
  line-height: 2;
  margin-top: 48px;
}

/* Header */
.header {
  justify-content: center;
  align-items: stretch;
  position: absolute;
  z-index: 1;
  display: flex;
  min-height: 94px;
  width: 100%;
  padding: 0 40px;
  flex-direction: column;
  right: 0;
  top: 0;
  height: 94px;
}

.header-content {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.header-logo {
  aspect-ratio: 3.33;
  object-fit: contain;
  object-position: center;
  width: 160px;
  align-self: stretch;
  margin: auto 0;
}

/* Interactive Elements */
.join-button:hover {
  background-color: #0266e4;
  transition: background-color 0.3s ease;
}

.input-field:focus-within {
  outline: 2px solid #0275fe;
}

/* Media Queries */
@media (max-width: 991px) {
  body {
    text-align: center;
    padding: 100px 20px 20px;
  }

  /*.landing-container {*/
  /*  */
  /*}*/

  .content-wrapper {
    max-width: 100%;
  }

  .hero-section {
    max-width: 100%;
    padding: 84px 20px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    max-width: 100%;
    font-size: 40px;
    line-height: 58px;
  }

  .waitlist-section {
    max-width: 100%;
    margin-top: 550px;
  }

  .floating-image {
    right: 0;
    bottom: 300px;
  }

  .waitlist-form-container {
    max-width: 100%;
    margin-top: 40px;
  }

  .waitlist-form {
    max-width: 100%;
  }

  .features-section {
    margin-top: 40px;
  }

  .features-header {
    max-width: 100%;
  }

  .features-title {
    max-width: 100%;
  }

  .features-subtitle {
    max-width: 100%;
  }

  .features-cards {
    max-width: 100%;
    margin-top: 40px;
  }

  .feature-card {
    max-width: 100%;
    padding: 20px;
  }

  .card-text {
    max-width: 100%;
  }

  .card-tag {
    max-width: 100%;
  }

  .card-description {
    max-width: 100%;
  }

  .cta-section {
    max-width: 100%;
    margin-top: 40px;
    padding: 84px 20px;
  }

  .cta-content {
    max-width: 100%;
    margin-top: 40px;
  }

  .cta-title {
    max-width: 100%;
    font-size: 40px;
  }

  .cta-subtitle {
    max-width: 100%;
  }

  .cta-form {
    max-width: 100%;
    margin-top: 40px;
  }

  .footer {
    max-width: 100%;
  }

  .footer-content {
    max-width: 100%;
  }

  .footer-logo {
    white-space: initial;
  }

  .footer-tagline {
    max-width: 100%;
  }

  .copyright {
    margin-top: 40px;
  }

  .header {
    max-width: 100%;
    padding: 0 20px;
  }

  .header-content {
    max-width: 100%;
  }

  .join-button {
    padding: 16px 20px;
    white-space: initial;
  }

  .button-text {
    white-space: initial;
  }

  .hero-background {
    min-height: 450px;
    width: 450px ;
    bottom: -540px;

  }
}

.waitlist-section {
  position: relative;
}


.circle-wrapper {
  position: relative;
}

.circle-wrapper.fixed-bottom {
  position: inherit;
}

.circle-container {
  transform: unset;
  position: absolute;
  bottom: unset;
  right: -450px;
}

.circle-container.fixed-bottom {
  position: fixed;
  left: calc(50% + 300px);
  bottom: -75px;
  z-index: 999;
  pointer-events: none; /* So it doesn't block clicks if needed */
}

@media (max-width: 991px) {
  .circle-container {
    right: -200px;
    top: -180px;
  }

  .circle-container.fixed-bottom {
    right: -200px;
    top: -180px;
  }
}

.circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: white; /* optional, to ensure it's visible */
  animation: rotate 4s ease-in-out infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
