/* Brand tokens for a stronger, consistent visual personality. */
:root {
  --brand-rose: #ec4899;
  --brand-ink: #3f3440;
  --brand-gold: #eab308;
  --brand-mint: #22c55e;
  --brand-blue: #4f6fa8;
  --brand-violet: rgb(200, 122, 255);
}


header nav a {
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

header nav a:hover {
  background: rgba(79, 111, 168, 0.14);
  transform: translateY(-1px);
}

.dark-mode header nav a:hover {
  background: rgba(243, 168, 202, 0.18);
}
body {
  font-family: 'Alegreya Sans', sans-serif;
  transition: background 0.4s, color 0.4s;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 12% 10%, rgba(236, 72, 153, 0.12), transparent 35%),
    radial-gradient(circle at 85% 18%, rgba(34, 197, 94, 0.11), transparent 40%),
    linear-gradient(155deg, rgba(255, 245, 230, 0.45), rgba(255, 255, 255, 0));
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 1.4rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(236, 72, 153, 0.22);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
}

.hero-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-rose);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 0 rgba(213, 162, 79, 0.2);
}

.hero-description {
  font-size: 1.05rem;
  margin: 0;
  opacity: 0.8;
}

.color-heart {
  display: inline-block;
  font-size: 1.08em;
  line-height: 1;
  animation: heartColorShift 4s ease-in-out infinite;
}

@keyframes heartColorShift {
  0% {
    color: #ec4899;
  }
  25% {
    color: #22c55e;
  }
  50% {
    color: #4f6fa8;
  }
  75% {
    color: #eab308;
  }
  100% {
    color: #ec4899;
  }
}

.dark-mode {
  --bg: #2a2a2a;
  --text: #e9d9c8;
  --card-bg: #3a3a3a;
  --hero-image-bg: #2c2c2c;
}

.light-mode {
  --bg: #fffef9;
  --text: #6f4e37;
  --card-bg: #ffffff;
  --hero-image-bg: #fffef9;
}

body.dark-mode {
  background-image: none;
}

body {
  background: var(--bg);
  color: var(--text);
}

.hero-image {
  background: var(--hero-image-bg);
  display: block;
}

.bio-card {
  background: var(--card-bg);
}

.blob-1 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(244, 163, 187, 0.3);
  filter: blur(60px);
  top: -50px;
  left: -80px;
}

.blob-2 {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(167, 214, 118, 0.25);
  filter: blur(60px);
  bottom: -40px;
  right: -60px;
}

.blob-3 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(253, 224, 71, 0.25);
  filter: blur(50px);
  top: 40%;
  right: 20%;
}

.medium-tag {
  transition: transform 0.2s;
}

.medium-tag:hover {
  transform: scale(1.05);
}

.pricing-section {
  width: 100%;
  max-width: 72rem;
  margin-top: 2.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1.2;
  text-align: center;
  color: var(--brand-ink);
}

.section-subtitle {
  margin-top: 0.5rem;
  text-align: center;
  opacity: 0.8;
  letter-spacing: 0.04em;
}

.pricing-grid {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-top-width: 4px;
  border-radius: 1.2rem;
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(3px);
}

.pricing-grid .pricing-card:nth-child(5n+1) {
  border-color: #ec4899;
}

.pricing-grid .pricing-card:nth-child(5n+1) .card-header,
.pricing-grid .pricing-card:nth-child(5n+1) .btn {
  background: linear-gradient(135deg, #db2777, #ec4899);
}

.pricing-grid .pricing-card:nth-child(5n+2) {
  border-color: #22c55e;
}

.pricing-grid .pricing-card:nth-child(5n+2) .card-header,
.pricing-grid .pricing-card:nth-child(5n+2) .btn {
  background: linear-gradient(135deg, #15803d, #16a34a);
}

.pricing-grid .pricing-card:nth-child(5n+3) {
  border-color: #eab308;
}

.pricing-grid .pricing-card:nth-child(5n+3) .card-header,
.pricing-grid .pricing-card:nth-child(5n+3) .btn {
  background: linear-gradient(135deg, #ca8a04, #eab308);
  color: #2f2a1d;
}

.pricing-grid .pricing-card:nth-child(5n+4) {
  border-color: #4f6fa8;
}

.pricing-grid .pricing-card:nth-child(5n+4) .card-header,
.pricing-grid .pricing-card:nth-child(5n+4) .btn {
  background: linear-gradient(135deg, #4f6fa8, #6f97d9);
}

.pricing-grid .pricing-card:nth-child(5n+5) {
  border-color: rgb(200, 122, 255);
}

.pricing-grid .pricing-card:nth-child(5n+5) .card-header,
.pricing-grid .pricing-card:nth-child(5n+5) .btn {
  background: linear-gradient(135deg, rgb(175, 96, 232), rgb(200, 122, 255));
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.highlighted-card {
  border-color: rgba(236, 72, 153, 0.62);
  box-shadow: 0 16px 36px rgba(236, 72, 153, 0.2);
}

.card-header {
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mint-accent {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.pink-accent {
  background: linear-gradient(135deg, #db2777, #ec4899);
}

.blue-accent {
  background: linear-gradient(135deg, #4f6fa8, #6f97d9);
}

.violet-accent {
  background: linear-gradient(135deg, rgb(175, 96, 232), rgb(200, 122, 255));
}

.red-accent {
  background: linear-gradient(135deg, #ca8a04, #eab308);
}

.card-header h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}

.price {
  font-weight: 700;
}

.features-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.btn {
  margin-top: 1rem;
  border: 0;
  width: 100%;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.mint-btn {
  background: #22c55e;
}

.pink-btn {
  background: #ec4899;
}

.blue-btn {
  background: #4f6fa8;
}

.violet-btn {
  background: rgb(200, 122, 255);
}

.red-btn {
  background: #eab308;
  color: #2f2a1d;
}

.contact-card {
  border: 1px solid rgba(236, 72, 153, 0.36);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.78);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.tos-section {
  width: 100%;
  max-width: 72rem;
  margin-top: 3rem;
}

.tos-container {
  border-radius: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(213, 162, 79, 0.35);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.tos-intro {
  margin-top: 1rem;
  margin-bottom: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: rgba(213, 162, 79, 0.12);
  border: 1px solid rgba(213, 162, 79, 0.35);
}

.tos-block {
  margin-top: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem;
}

.tos-block h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
}

.tos-block h4 {
  margin: 0.8rem 0 0.3rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tos-block p {
  margin: 0;
  opacity: 0.92;
  line-height: 1.55;
}

.border-mint {
  border-left: 6px solid var(--brand-mint);
}

.border-pink {
  border-left: 6px solid var(--brand-rose);
}

.border-blue {
  border-left: 6px solid var(--brand-blue);
}

.border-red {
  border-left: 6px solid var(--brand-gold);
}

.mint-accent-text {
  color: var(--brand-mint);
}

.pink-accent-text {
  color: var(--brand-rose);
}

.blue-accent-text {
  color: var(--brand-blue);
}

.red-accent-text {
  color: var(--brand-gold);
}

.tos-section .section-title {
  font-size: 1.9rem;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.35rem;
  }

  .tos-container {
    padding: 1rem;
  }
}

.quick-actions {
  border: 1px solid rgba(236, 72, 153, 0.28);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 1rem;
}

.primary-cta,
.ghost-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.primary-cta {
  background: #ec4899;
  color: #fff;
}

.ghost-cta {
  border: 1px solid #ec4899;
  color: #ec4899;
}

.primary-cta:hover,
.ghost-cta:hover {
  transform: translateY(-1px);
}

.ghost-cta:hover {
  background: rgba(236, 72, 153, 0.1);
}

/* Dark theme parity with the rest of the site. */
.dark-mode .hero-intro {
  background: rgba(58, 58, 58, 0.88);
  border-color: rgba(236, 72, 153, 0.35);
}

.dark-mode .section-title,
.dark-mode .section-subtitle,
.dark-mode .tos-block h4,
.dark-mode .tos-block p {
  color: var(--text);
}

.dark-mode .pricing-card,
.dark-mode .contact-card,
.dark-mode .tos-container,
.dark-mode .tos-intro,
.dark-mode .tos-block,
.dark-mode .quick-actions {
  background: rgba(58, 58, 58, 0.9);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.dark-mode .ghost-cta {
  border-color: #ec4899;
  color: #f5b3d3;
}

.dark-mode .ghost-cta:hover {
  background: rgba(236, 72, 153, 0.2);
}

.dark-mode .primary-cta {
  color: #fff;
}

/* Shared small-screen header behavior to prevent overlap. */
@media (max-width: 760px) {
  header nav {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  header nav > div:first-child {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  header nav > div:last-child {
    order: 1;
    margin-left: auto;
    position: static !important;
    transform: none !important;
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title,
  .tos-section .section-title {
    font-size: 1.55rem;
  }

  .pricing-card,
  .tos-block,
  .quick-actions {
    padding: 0.9rem;
  }
}