/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: #fbf8f5;
  color: #292321;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

/* =========================
   VARIABLES
========================= */

:root {
  --cream: #fbf8f5;
  --cream-dark: #f4eee9;

  --pink: #d89aa1;
  --pink-light: #f2d9dc;
  --pink-dark: #b96f79;

  --rose: #8d525a;

  --text: #292321;
  --muted: #77706c;

  --white: #ffffff;

  --border: rgba(41, 35, 33, 0.1);
}

/* =========================
   NAVBAR
========================= */

.navbar {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 82px;

  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 6%;

  transition: all 0.35s ease;
}

.navbar.scrolled {
  background: rgba(251, 248, 245, 0.94);

  backdrop-filter: blur(18px);

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.logo,
.footer-logo {
  font-family: "Cormorant Garamond", serif;

  font-size: 32px;

  font-weight: 600;

  letter-spacing: -1px;
}

.logo span,
.footer-logo span {
  color: var(--pink-dark);
}

.nav-links {
  display: flex;

  align-items: center;

  gap: 38px;

  font-size: 14px;
}

.nav-links a {
  position: relative;

  color: #4d4643;
}

.nav-links a::after {
  content: "";

  position: absolute;

  bottom: -7px;
  left: 0;

  width: 0;
  height: 1px;

  background: var(--pink-dark);

  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--pink-dark);
}

.nav-button {
  padding: 13px 22px;

  border-radius: 100px;

  background: var(--text);

  color: white;

  font-size: 13px;

  transition: all 0.3s ease;
}

.nav-button:hover {
  transform: translateY(-2px);

  background: var(--rose);
}

.mobile-menu {
  display: none;

  background: none;

  border: none;

  font-size: 25px;

  cursor: pointer;
}

/* =========================
   HERO
========================= */

.pricing-hero {
  min-height: 66vh;

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 150px 6% 90px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(236, 190, 196, 0.32),
      transparent 27%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(236, 190, 196, 0.25),
      transparent 25%
    ),
    var(--cream);
}

.pricing-hero::after {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  border: 1px solid rgba(185, 111, 121, 0.12);

  border-radius: 50%;

  bottom: -350px;
  left: 50%;

  transform: translateX(-50%);
}

.pricing-hero-content {
  max-width: 850px;

  position: relative;

  z-index: 2;
}

.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  font-size: 11px;

  text-transform: uppercase;

  letter-spacing: 3px;

  color: var(--rose);

  margin-bottom: 25px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";

  width: 35px;
  height: 1px;

  background: var(--pink-dark);
}

.pricing-hero h1 {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(60px, 7vw, 100px);

  line-height: 1;

  font-weight: 500;

  letter-spacing: 0.7px;

  margin-bottom: 30px;
}

.pricing-hero h1 em {
  display: block;

  color: var(--pink-dark);

  font-style: italic;
}

.pricing-hero-content p {
  max-width: 650px;

  margin: auto;

  color: var(--muted);

  font-size: 16px;

  line-height: 1.8;
}

.hero-decoration {
  position: absolute;

  font-family: "Cormorant Garamond", serif;

  color: var(--pink-dark);

  opacity: 0.45;

  pointer-events: none;
}

.hero-decoration-one {
  left: 8%;

  top: 35%;

  font-size: 100px;

  transform: rotate(-15deg);
}

.hero-decoration-two {
  right: 9%;

  top: 30%;

  font-size: 55px;

  transform: rotate(15deg);
}

/* =========================
   PRICING SECTION
========================= */

.pricing-section {
  padding: 30px 6% 130px;

  background: var(--cream);
}

.pricing-grid {
  max-width: 1250px;

  margin: auto;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 24px;
}

/* =========================
   PRICE CARD
========================= */

.price-card {
  background: white;

  padding: 38px 38px 35px;

  border: 1px solid rgba(41, 35, 33, 0.08);

  position: relative;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;

  display: flex;

  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 30px 70px rgba(45, 32, 28, 0.1);
}

.price-card:nth-child(5) {
  grid-column: 1 / -1;

  max-width: 620px;

  width: 100%;

  justify-self: center;
}

/* Featured */

.price-card.featured {
  background: #292321;

  color: white;

  border-color: #292321;

  box-shadow: 0 30px 70px rgba(41, 35, 33, 0.2);

  transform: translateY(-12px);
}

.price-card.featured:hover {
  transform: translateY(-19px);
}

/* Premium */

.price-card.premium {
  background: linear-gradient(135deg, #fff, #f8eeee);
}

/* =========================
   POPULAR BADGE
========================= */

.popular-badge {
  position: absolute;

  top: 22px;
  right: 22px;

  padding: 8px 14px;

  border-radius: 100px;

  background: #e3aeb4;

  color: #4d292d;

  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 1.5px;

  font-weight: 600;
}

/* =========================
   PACKAGE TOP
========================= */

.package-top {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 35px;
}

.package-number {
  font-family: "Cormorant Garamond", serif;

  font-size: 20px;

  color: var(--pink-dark);
}

.package-label {
  font-size: 9px;

  text-transform: uppercase;

  letter-spacing: 2px;

  color: #928984;
}

.featured .package-label {
  color: #aaa19d;
}

/* =========================
   CARD TYPOGRAPHY
========================= */

.price-card h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: 40px;

  font-weight: 600;

  line-height: 1;

  margin-bottom: 13px;
}

.package-description {
  max-width: 430px;

  min-height: 45px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.65;

  margin-bottom: 28px;
}

.featured .package-description {
  color: #aaa19d;
}

/* =========================
   PRICE
========================= */

.price-wrapper {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

  margin-bottom: 30px;
}

.actual-price {
  position: relative;

  font-family: "Cormorant Garamond", serif;

  font-size: 22px;

  color: #9a918d;
}

.actual-price::after {
  content: "";

  position: absolute;

  height: 1px;

  width: 105%;

  left: -2px;

  top: 50%;

  background: #a89e99;

  transform: rotate(-7deg);
}

.current-price {
  font-family: "Cormorant Garamond", serif;

  font-size: 62px;

  line-height: 0.8;

  font-weight: 600;

  color: var(--text);
}

.current-price span {
  font-family: "DM Sans", sans-serif;

  font-size: 27px;

  vertical-align: 15px;

  margin-right: 2px;
}

.featured .current-price {
  color: white;
}

.discount {
  padding: 6px 9px;

  border-radius: 4px;

  background: #f4dfe1;

  color: var(--rose);

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 0.5px;
}

/* =========================
   FEATURES
========================= */

.includes-label {
  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 1.7px;

  color: #8b827e;

  margin-bottom: 10px;
}

.featured .includes-label {
  color: #aaa19d;
}

.features {
  list-style: none;

  margin-bottom: 30px;
}

.features li {
  display: flex;

  align-items: flex-start;

  gap: 11px;

  padding: 10px 0;

  border-bottom: 1px solid rgba(41, 35, 33, 0.07);

  color: #514a47;

  font-size: 13px;

  line-height: 1.4;
}

.features li:last-child {
  border-bottom: none;
}

.features li span {
  color: var(--pink-dark);

  font-weight: 700;
}

.featured .features li {
  border-color: rgba(255, 255, 255, 0.1);

  color: #d2cbc7;
}

/* =========================
   PACKAGE BUTTON
========================= */

.package-button {
  margin-top: auto;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  width: 100%;

  padding: 15px;

  border: 1px solid rgba(41, 35, 33, 0.18);

  border-radius: 100px;

  font-size: 12px;

  transition: all 0.3s ease;
}

.package-button span {
  transition: transform 0.3s ease;
}

.package-button:hover {
  background: var(--text);

  color: white;

  border-color: var(--text);
}

.package-button:hover span {
  transform: translateX(4px);
}

.featured .package-button {
  background: white;

  color: var(--text);

  border-color: white;
}

.featured .package-button:hover {
  background: #e3aeb4;

  border-color: #e3aeb4;

  color: #4d292d;
}

/* =========================
   COMPARISON / CTA
========================= */

.comparison {
  padding: 130px 6%;

  background: #f1e8e3;
}

.comparison-inner {
  max-width: 850px;

  margin: auto;

  text-align: center;
}

.comparison h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(50px, 6vw, 78px);

  font-weight: 500;

  line-height: 0.9;

  margin-bottom: 25px;
}

.comparison h2 em {
  color: var(--pink-dark);

  font-style: italic;
}

.comparison p {
  max-width: 600px;

  margin: 0 auto 30px;

  color: var(--muted);

  font-size: 14px;

  line-height: 1.8;
}

.dark-button {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 16px 27px;

  background: var(--text);

  color: white;

  border-radius: 100px;

  font-size: 13px;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.dark-button:hover {
  transform: translateY(-3px);

  background: var(--rose);
}

/* =========================
   FAQ
========================= */

.faq {
  padding: 140px 6%;

  background: var(--cream);
}

.section-heading {
  text-align: center;

  max-width: 700px;

  margin: 0 auto 70px;
}

.section-label {
  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 3px;

  color: var(--pink-dark);

  margin-bottom: 18px;
}

.section-heading h2 {
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(48px, 5vw, 70px);

  line-height: 0.95;

  font-weight: 500;
}

.faq-list {
  max-width: 850px;

  margin: auto;
}

.faq-item {
  border-top: 1px solid rgba(41, 35, 33, 0.12);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(41, 35, 33, 0.12);
}

.faq-question {
  width: 100%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 30px;

  padding: 25px 5px;

  border: none;

  background: transparent;

  text-align: left;

  cursor: pointer;

  font-family: "Cormorant Garamond", serif;

  font-size: 23px;

  color: var(--text);
}

.faq-icon {
  font-family: "DM Sans", sans-serif;

  font-size: 22px;

  color: var(--pink-dark);

  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;

  overflow: hidden;

  transition: max-height 0.4s ease;
}

.faq-answer p {
  max-width: 720px;

  padding: 0 5px 25px;

  color: var(--muted);

  font-size: 13px;

  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #24201e;

  color: white;

  padding: 80px 7% 25px;
}

.footer-main {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.2fr;

  gap: 60px;

  padding-bottom: 70px;
}

.footer-logo {
  display: inline-block;

  color: white;

  font-size: 38px;

  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 370px;

  color: #aaa19d;

  font-size: 13px;

  line-height: 1.8;

  margin-bottom: 25px;
}

.footer-cta {
  color: #e3b1b6;

  font-size: 13px;
}

.footer-column {
  display: flex;

  flex-direction: column;

  gap: 13px;
}

.footer-column h4 {
  font-family: "Cormorant Garamond", serif;

  font-size: 21px;

  font-weight: 500;

  margin-bottom: 8px;
}

.footer-column a {
  color: #aaa19d;

  font-size: 12px;

  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1200px;

  margin: auto;

  padding-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  display: flex;

  justify-content: space-between;

  color: #77716e;

  font-size: 10px;
}

/* =========================
   REVEAL
========================= */

.reveal {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 950px) {
  .nav-links {
    gap: 20px;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 3;
  }
}

@media (max-width: 750px) {
  .nav-links,
  .nav-button {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .pricing-hero {
    min-height: 65vh;
  }

  .pricing-hero h1 {
    font-size: 62px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card:nth-child(5) {
    grid-column: auto;

    max-width: none;
  }

  .price-card.featured,
  .price-card.featured:hover {
    transform: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 10px;

    text-align: center;
  }
}

@media (max-width: 550px) {
  .navbar {
    padding: 0 5%;
  }

  .pricing-hero {
    padding: 130px 5% 80px;
  }

  .pricing-hero h1 {
    font-size: 55px;

    letter-spacing: -2px;
  }

  .pricing-hero-content p {
    font-size: 14px;
  }

  .hero-decoration {
    display: none;
  }

  .pricing-section {
    padding: 20px 5% 100px;
  }

  .price-card {
    padding: 32px 25px;
  }

  .price-card h2 {
    font-size: 35px;
  }

  .current-price {
    font-size: 55px;
  }

  .comparison,
  .faq {
    padding: 100px 5%;
  }

  .footer {
    padding: 70px 5% 25px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}
