:root {
  --bg-color: #fff;
  --text-color: #1A1F2C;
  --neutral-color: #696a79;
  --neutral-light-color: #7a7c80;
  --primary-color: #cb3a60;
  --dark-purple: #ac284b;
  --light-purple: #faf8f8;
  --soft-purple: #f3e9eb;
  --border-radius: 1rem;
}

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

body {
  font-family: 'Figtree', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--dark-purple);
  transition: color 0.2s ease;
  &:hover {
    color: var(--primary-color);
  }

}

img {
  max-width: 100%;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 99px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: .95rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}


.btn-primary:hover {
  background-color: var(--dark-purple);
  color: white;
}

.btn-secondary {
  background-color: white;
  color: var(--text-color);
  border: 1px solid var(--text-color);

  &:hover {
    background-color: var(--light-purple);
  }
}

.btn-secondary:hover {
  background-color: var(--light-purple);
  color: var(--text-color);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
  background-color: var(--soft-purple);
}

.header-scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

header .btn {
  padding: 0.4rem 1rem;
  font-size: smaller;
}

header:has(.nav-links.active) {
  background-color: white;
  transition: none;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
  position: relative;
  a {
    display: flex;
    align-items: center;
    img{
      transition: transform 0.3s ease;
    }
    
    &:hover img {
      transform: scale(1.05);
    }
  }
}

nav {
  display: none;
}

.mobile-menu-btn {
  color: var(--text-color);
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;

  &:hover {
    transform: scale(1.05);
  }
}

@media (min-width: 768px) {


  nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .mobile-menu-btn {
    display: none;
  }
}

nav a {
  color: var(--text-color);
  font-size: .9rem;
  font-weight: 500;

}

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

/* Hero section */
.hero {
  padding-top: 6rem;
  padding-bottom: 180px;
  background-image: url('../../img/marbles-hero.webp');
  background-size: 900px;
  background-repeat: no-repeat;
  background-position: center bottom -80px;
  background-color: var(--soft-purple);
  text-align: center;
}
article .hero, .blog .hero {
  background-image: none;
  padding-bottom: 2rem;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

.hero-description {
  max-width: 100%;
  margin: 2rem auto;
  font-size: 1rem;
  font-weight: 300;
}

@media (min-width: 768px) {
  .hero {
    background-size: 1200px;
    padding-bottom: 250px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.2rem;
    max-width: 36rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.tags {
  margin: 1.5rem 0 2rem 0;
}

@media (min-width: 768px) {
  .tags {
    margin: 2rem 0 3rem;
  }
}

.tags p {
  margin-bottom: 1rem;
  font-weight: 500;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 36rem;
  margin: 0 auto;
}

.tag {
  padding: 0.5rem 1rem;
  background-color: var(--soft-purple);
  color: var(--primary-color);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}




.hero-image {
  width: 100%;
  height: auto;
  max-width: 48rem;
  margin: 0 auto 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

}

.hero-image-placeholder {
  width: 100%;

  box-shadow: 6.4em 9.1em 4.5em 0 rgba(0, 0, 0, .01), 3.6em 5.1em 3.8em 0 rgba(0, 0, 0, .03), 1.6em 2.3em 2.8em 0 rgba(0, 0, 0, .06), .4em .6em 1.5em 0 rgba(0, 0, 0, .06), 0 0 0 0 rgba(0, 0, 0, .06);

  img {
    border: 1px solid rgba(0, 0, 0, .03);
    display: block;
  }
}

/* Sections */
section {
  padding: 2rem 1rem;
}

.section-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-heading h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.section-heading p {
          font-size: 1.125rem;
  max-width: 100%;
  margin: 0 auto;
  font-weight: 300;
}

@media (min-width: 768px) {
  section {
    padding: 3rem 0 5rem;
  }

  .section-heading {
    margin-bottom: 3rem;
  }

  .section-heading h2 {
    font-size: 2rem;
    line-height: 1.6;
  }

  .section-heading p {
    font-size: 1.125rem;
    max-width: 48rem;
  }
}

/* Features section */
#features {
  background-color: white;
  padding-top: 0;
}

.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  padding: 2rem;
  border: 1px solid rgba(229, 222, 255, 0.3);
  border-radius: var(--border-radius);
  background: radial-gradient(circle at calc(50% + 100px) 50%,
      #f4f4f4,
      #fff 400px);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

}



.feature-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-direction: column;

  img {
    width: 150px;
    height: 150px;
    border: 1px solid var(--neutral-color);
    border-radius: 50%;
  }
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.feature-card p {
  color: hsl(241, 10%, 40%);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
}

.why-choose {
  background: radial-gradient(circle at calc(50% + 100px) 50%,
      #faf8f8,
      #ede3e5 700px);
}



.why-choose h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}

.benefits-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.benefit-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.benefit-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.benefit-card-header img {
  width: 2.8rem;
  height: 2.8rem;
}

.benefit-card h4 {
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 1.25rem;
}

.benefit-card p {
  font-weight: 300;
  font-size: 1.125rem;
}

/* Plans section */
#plans {
  background: linear-gradient(to bottom right, #f4f4f4, #fff);
  padding: 2.5rem 0;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 15px 10px -10px, rgba(0, 0, 0, 0.15) 0px -15px 10px -10px;
  box-shadow: rgba(33, 35, 38, 0.2) 0px 10px 10px -10px, rgba(0, 0, 0, 0.2) 0px -10px 10px -10px;
  position: relative;
  z-index: 99;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.plans-grid {
  display: grid;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.plan-card {
  padding: 1.5rem;
  border: 1px solid rgba(229, 222, 255, 0.3);
  border-radius: var(--border-radius);
  background-color: white;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;

}

.plan-card:hover {
  border-color: var(--soft-purple);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.plan-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  height: 50px;
}

.plan-type {
  font-size: 1.25rem;
  font-weight: 700;
}

.plan-popular {
  font-size: 0.875rem;
  color: var(--primary-color);
}

.plan-price {
  font-weight: 700;
  color: var(--primary-color);
}

.plan-features {
  margin-bottom: 1.5rem;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.check-icon {
  color: var(--primary-color);
  margin-right: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.plan-note {
  text-align: center;
  color: var(--neutral-color);
  margin-top: 2rem;
  font-size: 0.875rem;
}

.plans-tagline {
  font-weight: 500;
  text-align: center;
  margin-top: 0.5rem;
}

/* Early access section */
.early-access {
  padding: 5rem 0;
  background-color: white;
}

.early-access-container {
  max-width: 860px;
  margin: 0 auto;
}

.early-access-box {
  background: radial-gradient(circle at calc(50% + 100px) 50%,
      #e26283,
      var(--dark-purple) 500px);
  box-shadow: 6.4em 9.1em 4.5em 0 rgba(0, 0, 0, .01), 3.6em 5.1em 3.8em 0 rgba(0, 0, 0, .03), 1.6em 2.3em 2.8em 0 rgba(0, 0, 0, .06), .4em .6em 1.5em 0 rgba(0, 0, 0, .06), 0 0 0 0 rgba(0, 0, 0, .06);
  padding: 3rem 2rem 0 2rem;
  border-radius: var(--border-radius);

  .early-access-intro {
    text-align: center;
    color: var(--light-purple);

    h2 {
      color: white;
      margin-bottom: 1rem;
      font-weight: 500;
    }

  }

}

@media (min-width: 768px) {
  .early-access-box {
    padding: 3rem 3rem 0 3rem;
  }
}





/* Footer */
footer {
  padding: 2rem 0;
  background-color: var(--soft-purple);
}

.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}




.footer-links {
  margin: 0 auto 1rem;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-color);
  transition: color 0.2s ease;

}

.footer-links a:hover {
  color: var(--primary-color);
}



.copyright {
  margin: 0 auto;
  font-size: 0.875rem;
  color: var(--neutral-light-color);
  transition: color 0.2s ease;

  a {
    color: var(--neutral-light-color);
    text-transform: none;
    font-weight: 500;

    &:hover {
      color: var(--primary-color);
    }
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animation-delay-100 {
  animation-delay: 0.1s;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-300 {
  animation-delay: 0.3s;
}

.animation-delay-400 {
  animation-delay: 0.4s;
}

.animation-delay-500 {
  animation-delay: 0.5s;
}


/* Modal styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 31, 44, .8);
  z-index: 1000;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #fff;
  margin: 2rem auto;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;


}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  color: #666;
}

.modal-close:hover {
  color: #000;
}

.modal.active {
  display: block;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 31, 44, .8);
  z-index: 1000;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}

body.modal-open {
  overflow: hidden;
}

.modal-content {
  background-color: #fff;
  margin: 2rem;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0);
}

/* Header styles */
nav {
  display: none;
}

/* Add these new mobile menu styles */
.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--soft-purple);
  background-color: white;
}

.nav-links.active {
  display: flex;
}
.nav-links a.active {
  color: var(--dark-purple);
}

/* Update existing mobile-menu-btn styles */
.mobile-menu-btn {
  padding: 0.5rem;
  margin: -0.5rem;
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 1000;
}

/* Update media query for desktop */
@media (min-width: 768px) {
  nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    background: none;
    width: auto;
    background-color: transparent;
    backdrop-filter: none;
    border-top: none;
  }

  .mobile-menu-btn {
    display: none;
  }
}

.standard-content {
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;

  h1 {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }

  p {
    margin-bottom: .5rem;
  }

  ul {
    margin-left: 20px;
    margin-bottom: 1rem;
  }

  li {
    margin-bottom: .25rem;
  }

  a {
    text-decoration: none;
    font-weight: 500;
    color: var(--primary-color);
    transition: color 0.2s ease;

    &:hover {
      color: var(--dark-purple);
    }
  }
}

.ml-subscription {
  min-height: 100%;
  background: radial-gradient(circle at calc(50% + 100px) 50%,
      var(--soft-purple),
      var(--light-purple) 500px);

  a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;

    &:hover {
      color: var(--dark-purple);
    }
  }
}

.ml-subscription-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;

  .link-to-website {
    display: flex;
    align-items: center;
    gap: .5rem;
  }
}

.ml-subscription-card {
  text-align: center;
  background-color: white;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;

  h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
  }

  p {
    margin-top: 0.25rem;
  }

  strong {
    font-weight: 600;
  }

  .instructions {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--neutral-color);
  }

  .success-icon {
    width: 160px;
    height: auto;
    margin-top: -2rem;
    margin-bottom: -1rem;
  }

}

.blog-overview {
  padding: 7rem 0 0;
  background-color: white;
  
  .post-meta {
    color: var(--neutral-color);
    font-size: 0.875rem;
  }
  .post-preview + .post-preview {
    margin-top: 3rem;
  }
  .post-content-preview {
    display: flex;
    margin-top: .5rem;
  }
  img + .post-content-preview {
    margin-left: 1.5rem;
  }
  .more-link  {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
  }

}
.post-content .container, .blog-overview .container {
  max-width: 850px;
  margin: 0 auto;
}
.post-content {
  padding-bottom: 0;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-color);
  color: white;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent-banner.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-content p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
}

.cookie-consent-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  .btn.btn-secondary {
    opacity: .5;
    &:hover {
      opacity: .7;
    }
  }
}

.cookie-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-size: 0.9rem;
  font-weight: 500;
}

.cookie-link:hover {
  color: var(--dark-purple);
}

@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-consent-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-consent-buttons .btn {
    width: 100%;
  }
}