.area {
    position: relative;
    background-color: var(--background-1);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.scrolling-content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    background-color: black;
    color: white;
    padding: 7rem;
}

.scrolling-content h2 {
    margin: 0.5rem 0;
    font-size: 2.5rem;
    font-weight: 200;
    margin: 15px 0;
    line-height: 1;
}

.scrolling-content h3 {
    font-size: 1.3rem;
    font-weight: 200;
}

.scrolling-content a {
  color: var(--brand);
  cursor: pointer;
}

.scrolling-content a:hover {
    color: hotpink;
}

@media (max-width: 768px) {
    .scrolling-content {
        padding: 40px;
    }
}

/* AREA-1 */

#area1 {
    top: 80px;
    position: sticky;
    min-height: calc(100vh - 80px);
    font-weight: 300;
    display: flex;
    width: 100%;
    flex-direction: column;
    background-color: var(--background-1);
}

#area1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background-image: url('img/check.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
}

#area1 h1 {
    font-size: 6.5rem;
    font-weight: 450;
    padding-bottom: 20px;
    margin-top: -80px;
    z-index: 1;
}

#area1 h3 {
    font-size: 2.4rem;
    font-weight: 300;
    z-index: 1;
}

@media (max-width: 768px) {
    #area1 {
        padding-left: 2rem;
        padding-right: 2rem;
        line-height: 1.1;
    }
    #area1::before {
        width: 250px;
        height: 250px;
    }
    #area1 h1 {
        font-size: 4.6rem;
    }
    #area1 h3 {
        font-size: 1.6rem;
    }
}

/* STATISTICS */

#statistics {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px 100px;
  background-color: var(--background-2);
  color: #121212;
  text-align: center;
}

.metric {
  flex: 1;
}

.metric-value {
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1.1;
}

.metric-label {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 10px;
}

.metric-multiplier {
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 2px;
}

.metric-subtext {
  font-size: 1.1rem;
  font-weight: 400;
  margin-top: 8px;
  color: var(--muted);
}

@media (max-width: 768px) {
    #statistics {
        display: none;
    }
}

/* AREA-2 */

#area2 {
    background-color: var(--background-2);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 160px;
    width: 100%;
}

#area2 .left-column {
  flex: 1;
  width: 65%;
}

#area2 h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.1;
}

#area2 p {
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 50px;
  color: var(--text);
}

#area2 .right-column {
  flex: 1;
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#area2 .right-column img {
  width: 60%;
  height: 60%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--brand);
}

@media screen and (max-width: 1168px) {
  #area2 {
    flex-direction: column-reverse;
    align-items: center;
    text-align: left;
    padding: 60px 20px;
  }

  #area2 .left-column,
  #area2 .right-column {
    width: 100%;
    flex: unset;
  }

  #area2 .left-column h1 {
    font-size: 2rem;
    margin-top: 40px;
  }

  #area2 .left-column p {
    font-size: 1.3rem;
  }

  #area2 .right-column img {
    width: 35vw;
    height: 35vw;
  }
}

/** AREA 4 **/

#area4 {
  background-color: var(--background-1);
  text-align: left;
  display: flex;
  height: 100vh;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 160px;
  width: 100%;
}

#area4 .stacked-section {
  text-align: center;
  display: flex;
  flex-direction: column;
}

#area4 .stacked-section h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}

#area4 .stacked-section p {
  max-width: 80%;
  margin: 0 auto 40px;
  color: var(--text);
  line-height: 1.5;
  font-size: 1.5rem;
  margin-bottom: 50px;
}

#area4 .stacked-section img {
  width: 100%;
  margin-top: 60px;
  padding-bottom: 200px;
  box-shadow: 0 0 20px rgba(224, 18, 128, 0.5), 0 0 40px rgba(224, 18, 128, 0.2);
}

@media screen and (max-width: 1168px) {
  #area4 {
    flex-direction: column-reverse;
    align-items: flex-start;
    text-align: left;
    padding: 60px 20px;
    height: auto;
    gap: 0;
    background-color: var(--brand);
  }

  #area4 .stacked-section {
    width: 100%;
    text-align: left;
  }

  #area4 .stacked-section h1 {
    font-size: 2rem;
    margin-top: 40px;
    line-height: 1.2;
    text-align: left;
    color: white;
  }

  #area4 .stacked-section p {
    font-size: 1.3rem;
    max-width: 100%;
    margin: 0 0 30px 0;
    text-align: left;
    color: white;
  }

  #area4 .stacked-section br {
    display: none;
  }

  #area4 .stacked-section button {
    text-align: left;
    margin-left: 0;
    background-color: white;
  }

  #area4 .stacked-section button:hover {
    color: var(--muted);
  }

  #area4 .stacked-section img {
    display: none;
  }
}

/** PACKAGES **/

#packages {
    background-color: var(--background-2);
    padding: 90px 90px 120px 90px;
    box-sizing: border-box;
}

#packages h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
    text-align: center;
}

#packages h3 {
    font-size: 1.2rem;
    font-weight: 200;
    margin-bottom: 80px;
    text-align: center;
}

#packages .pricing-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}

#packages .plan {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    width: 31%;
    max-width: 500px;
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-align: left;
    transition: all 0.3s ease;
}

#packages .plan:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

#packages .plan.best {
    border: 2px solid var(--brand);
    box-shadow: 0 8px 40px rgba(224, 18, 128, 0.15);
}

#packages .plan-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 24px auto;
}

#packages .tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e01280, #c0105e);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(224, 18, 128, 0.3);
}

#packages .plan h2 {
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
}

#packages .plan h3 {
    color: #6b7280;
    margin: 0 0 32px 0;
    font-weight: 400;
    font-size: 1.1rem;
    text-align: center;
}

#packages .price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    color: #1f2937;
    line-height: 1;
    text-align: center;
}

#packages .per-user {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 4px 0 32px 0;
    font-weight: 500;
    text-align: center;
}

#packages .main-description {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-top: auto;
    font-weight: 500;
}

@media screen and (max-width: 1194px) {
    #packages {
        padding: 60px 20px 90px 20px;
    }
    
    #packages .pricing-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin: 0 auto;
    }
    
    #packages .plan {
        width: 100%;
        padding: 2.5rem;
    }
    
    #packages .plan.best {
        order: -1;
    }
    
    #packages h1 {
        font-size: 2rem;
    }
    
    #packages h3 {
        font-size: 1rem;
    }
    
    #packages .plan h2 {
        font-size: 1.5rem;
    }
    
    #packages .plan-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 20px;
    }
}