/* =========================
   Sections (Below the Fold)
   ========================= */
/* =========================
   Base / Mobile
   ========================= */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: Inter, system-ui, sans-serif;
}



/*----------*/
/* FEATURES */
/*----------*/
.feature-images img {
  width: 100%;
  max-width: 280px;
  display: block;
  margin: 0 auto;
  padding-bottom: 2rem;
}
.feature-heading{
  font-family: Karla, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
}
.feature-text{
  font-size: 16px;
  font-weight: 400;
  color: rgb(120,126,138);
  line-height: 1.4;
  padding-bottom: 1.5rem;
}



/*---------*/
/* PRICING */
/*---------*/

.pricing-heading{
  text-align: center;
  padding: 1rem;
  font-family: Karla, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
}
.pricing-grid {
  display: flex;
  flex-direction: column;  /* stack on mobile */
  gap: 2rem;
  padding: 1rem 0rem;
}

/* Individual Pricing Cards */
.pricing-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: Inter, system-ui, sans-serif;
  overflow: hidden;
}
.pricing-card-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  border-bottom: 1px solid rgba(0,0,0,0.1); 
  min-height: 240px; /* a little more room for free tier card */
  
}
.pricing-card h3 {
  padding-left: 2rem;
  margin-top: 2rem;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 0rem;
  color: #000;
}
.pricing-card h4 {
  padding-left: 2rem;
  margin-top: 1.5rem;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 0rem;
  color: #000;
}
.pricing-card h4 span {
  font-size: 16px;
  font-weight: 400;
  color: rgb(120,126,138);
}
.pricing-card p {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 1rem;
  color: rgb(120,126,138);
  font-weight: 400;
  font-size: 16px;
}
.pill-wrapper{
  padding: 0 2rem;
  width: 100%;
  margin-top: auto;
  padding-bottom: 1.5rem;
}
.get-started-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 46px;
  border-radius: 14px;
  background: #1f1f1d;
  text-decoration: none;
  margin-top: auto;
  width: 100%;
  align-self: center;
  transition: transform 0.15s ease;
}
.get-started-pill:hover {
  transform: scale(1.05)
}
.get-started-text {
  display: block;
  text-align: center; 
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff !important;
  line-height: 1;
}

.list-heading{
  font-weight: 700;
  font-size: 16px;
  padding-left: 2rem;
  margin-bottom: 0;
}

.pricing-card ul {
  padding-left: 2rem;
  list-style: none;
  margin: 1rem 0 2rem;
  width: 100%;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  font-weight: 400;
  color: rgb(120,126,138);
  font-size: 16px;
  position: relative;
  padding-left: 2rem;
  list-style: none;
  line-height: 1.4;
}
.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #22c55e;
  font-weight: 700;
  font-size: 0.9rem;
}
.pricing-card ul li:last-child {
  border-bottom: none;
}

/*----------*/
/*-- FAQ ---*/
/*----------*/
.faq-section{
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  max-width: 768px;
  margin: 0 auto;
}
.faq-heading{
  font-family: Karla, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
  padding-bottom: .5rem;
  
}
.faq-sub-heading{
  font-size: 16px;
  font-weight: 400;
  color: rgb(120,126,138);
  line-height: 1.6;
  padding-bottom: 2rem;
}
.faq-section details {
  font-size: 16px;
  font-weight: 400;
  color: rgb(120,126,138);
  line-height: 1.4;

  padding-bottom: 1.25rem;
  background-color: rgb(0,0,0,0.02);
  
  margin-bottom: 1rem;
  border-radius: 18px;
  padding-left: 2rem;
  padding-right: 2rem;
  transition: background-color 0.1s ease;
  overflow: visible;
}
.faq-section details:hover{
  background-color: rgb(0,0,0,0.03);
}

.faq-section summary {
  overflow: visible;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: black;
  padding: 1.5rem .5rem 0rem 0; /* space for arrow */
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
summary::marker,
summary::-webkit-details-marker {
  display: none;
}

/* Custom arrow */
.faq-section summary::after {
  content: "";
  width: 9px;     /* bigger hitbox */
  height: 9px;
  margin-left: 1.75rem;
  border-width: 1.25px;
  border-right: 1.5px solid rgb(120,126,138);
  border-bottom: 1.5px solid rgb(120,126,138);

  transform: rotate(45deg);
  transform-origin: center;
  transition: 
    transform 0.4s cubic-bezier(.34,1.56,.64,1),
    border-color 0.2s ease;
}

/* Rotate when open */
.faq-section details[open] summary::after {
  transform: rotate(-135deg);
}
.faq-section details[open] {
 background-color: rgb(0,0,0,0.03); 
}

@keyframes faqFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-content {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(.4,0,.2,1);
}

details.active summary::after {
  transform: rotate(-135deg);
}

/*---------*/
/* CONTACT */
/*---------*/

.contact-section{
  padding-top: 0rem;
  padding-bottom: 3rem;
}
.contact-heading{
  font-family: Karla, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 900;
  padding-bottom: .5rem;
  
}
.contact-text{
font-size: 16px;
font-weight: 400;
line-height: 1.6;
color: rgb(120,126,138);
padding-bottom: .5rem;
}
.strong{
  text-decoration: underline;
  color: rgb(120,126,138);
}

.strong:hover {
  text-decoration: none;
  font-weight: 400;
}

/*---------*/
/* FOOTER  */
/*---------*/
.footer {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 16px;
  color: rgb(157,163,175);
  background: #1f1f1d;
  
}

.footer-links {
  display: inline-flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer a {
  color: inherit;
  text-decoration: none;
}
footer a:hover{
  color: rgb(189, 193, 201);
}

.footer-copy {
  margin: 0;
}


/* =========================
   Desktop (≥768px)
   ========================= */

@media (min-width: 768px) {
  /* FEATURES */
  .features-section{
    padding-left: 4rem;
    padding-right: 4rem;
  }
  .feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0rem;
    margin-bottom: 1rem;
  }
  .feature-item:nth-child(odd) .feature-images {
    /* Text on right, image on left edge */
    justify-self: end; 
    margin: 0;           
  }

  .feature-item:nth-child(even) .feature-images {
    /* Text on left, image on right edge */
    justify-self: end; 
    margin: 0;
  }
  .feature-images img {
    max-width: 280px;
    
  }
  .feature-item:nth-child(even) {
    direction: rtl;
    text-align: left;
  }


  .feature-item:nth-child(even) .feature-content {
    direction: ltr;
  }
  
    /* FAQ */
  .faq-heading{
    text-align: center;
  }
  .faq-sub-heading{
  text-align: center;
  }
  /* PRICING */
  .pricing-grid {
    flex-direction: row;  /* side by side */
    gap: 3rem;
  }
  .pricing-card-top{
    min-height: 300px; /* to align pills */
  }
  /* CONTACT */
  .contact-section{
    text-align: center;
    max-width: 768px;
  }
  /* FOOTER */
  
}

@media (min-width: 1024px) {
  /* FEATURES */

  .features-section{
    padding-left: 8rem;
    padding-right: 8rem;
  }
}