:root {
  --rose-deep: #9F1239;
  --rose-mid: #F43F5E;
  --peach: #FDBA74;
  --cream: #FFF7F5;
  --ink: #4A2632;
  --surface: #FFFFFF;
  --ease-quiet: cubic-bezier(.22, 1, .36, 1);
  --ease-precise: cubic-bezier(.4, 0, .2, 1);
  --ease-emphasis: cubic-bezier(.16, 1, .3, 1);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; }

.nav-link {
  margin-left: 25px !important;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

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

/* Glass morphism */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 32px rgba(159, 18, 57, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.glass-dark {
  background: rgba(159, 18, 57, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(253, 186, 116, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.orb-peach { background: radial-gradient(circle, #FDBA74 0%, transparent 70%); }
.orb-rose { background: radial-gradient(circle, #F43F5E 0%, transparent 70%); }
.orb-deep { background: radial-gradient(circle, #9F1239 0%, transparent 70%); opacity: 0.3; }

/* Eyebrow */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-mid);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::after {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow-light { color: var(--peach); }
.eyebrow-light::after { background: var(--peach); opacity: 0.6; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--rose-deep);
  color: var(--surface);
  padding: 1.05rem 2.2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease-quiet);
  box-shadow: 0 10px 30px rgba(159, 18, 57, 0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--peach), var(--rose-mid));
  opacity: 0;
  transition: opacity 0.4s var(--ease-quiet);
  z-index: 0;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(159, 18, 57, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.7);
  color: var(--rose-deep);
  padding: 1.05rem 2.2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid rgba(159, 18, 57, 0.15);
  transition: all 0.4s var(--ease-quiet);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  border-color: var(--peach);
  color: var(--rose-mid);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(253, 186, 116, 0.25);
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  color: var(--rose-deep);
  padding: 1.05rem 2.2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s var(--ease-quiet);
}
.btn-light:hover {
  background: var(--peach);
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(253, 186, 116, 0.4);
}

/* Service Card */
.service-card {
  transition: all 0.5s var(--ease-quiet);
  border: 1px solid rgba(159, 18, 57, 0.08);
  background: var(--surface);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--peach), var(--rose-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-quiet);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(159, 18, 57, 0.14);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .icon-orb {
  background: var(--rose-deep);
  color: var(--peach);
  transform: rotate(-8deg) scale(1.05);
}

.icon-orb {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(253, 186, 116, 0.25), rgba(244, 63, 94, 0.1));
  color: var(--rose-deep);
  font-size: 24px;
  transition: all 0.5s var(--ease-quiet);
  margin-bottom: 1.5rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-quiet), transform 1s var(--ease-quiet);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* Ken burns */
@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -1%); }
}
.kenburns { animation: kenburns 25s ease-in-out infinite alternate; }

/* Spin */
@keyframes spin-cw { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.spin-slow { animation: spin-cw 30s linear infinite; }

/* Float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.float { animation: float 6s ease-in-out infinite; }
.float-delay { animation: float 7s ease-in-out infinite; animation-delay: -3s; }
.float-slow { animation: float 9s ease-in-out infinite; animation-delay: -2s; }

/* Section title */
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-title-light { color: var(--surface); }

/* Inputs */
.input-field {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(159, 18, 57, 0.15);
  border-radius: 14px;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  transition: all 0.3s var(--ease-quiet);
}
.input-field:focus {
  outline: none;
  border-color: var(--peach);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(253, 186, 116, 0.2);
}
.input-field::placeholder { color: rgba(74, 38, 50, 0.4); }

.input-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--rose-mid);
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: 0.02em;
}

/* Nav */
.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.3s var(--ease-quiet);
  padding: 0.5rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--peach);
  transition: width 0.3s var(--ease-quiet);
}
.nav-link:hover { color: var(--rose-mid); }
.nav-link:hover::after { width: 100%; }

/* Nav scrolled */
.nav-scrolled {
  background: rgba(255, 247, 245, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(159, 18, 57, 0.08);
  box-shadow: 0 4px 20px rgba(159, 18, 57, 0.04);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(159, 18, 57, 0.55);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease-quiet);
}
.modal.is-open { display: flex; opacity: 1; }
.modal-content {
  background: var(--cream);
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 3rem;
  transform: translateY(30px);
  transition: transform 0.4s var(--ease-quiet);
  position: relative;
}
.modal.is-open .modal-content { transform: translateY(0); }

/* Counter */
.counter {
  font-family: 'Fraunces', serif;
  font-weight: 500;
}

/* FAQ */
.faq-item {
  border: 1px solid rgba(159, 18, 57, 0.1);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s var(--ease-quiet);
  background: rgba(255, 255, 255, 0.6);
}
.faq-item.active {
  border-color: var(--peach);
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(159, 18, 57, 0.08);
}
.faq-question {
  cursor: pointer;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  gap: 1rem;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-quiet), padding 0.4s var(--ease-quiet);
  padding: 0 2rem;
  color: rgba(74, 38, 50, 0.7);
  font-size: 15px;
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 500px; padding: 0 2rem 1.5rem; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--peach); }
.faq-icon { transition: transform 0.3s var(--ease-quiet); color: var(--rose-mid); }

/* Pricing card */
.pricing-card {
  transition: all 0.5s var(--ease-quiet);
  border: 1px solid rgba(159, 18, 57, 0.1);
  background: var(--surface);
  border-radius: 28px;
  padding: 2.5rem;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(159, 18, 57, 0.12);
}
.pricing-card.featured {
  background: linear-gradient(160deg, var(--rose-deep), var(--rose-mid));
  color: var(--surface);
  border: none;
}
.pricing-card.featured .pricing-amount { color: var(--surface); }
.pricing-card.featured .pricing-period { color: rgba(255, 255, 255, 0.7); }
.pricing-card.featured .pricing-feature { color: rgba(255, 255, 255, 0.9); }
.pricing-card.featured .pricing-feature i { color: var(--peach); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--rose-mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--rose-deep); }

/* Hero specific */
.hero-grid-bg {
  background-image: 
    linear-gradient(rgba(159, 18, 57, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 18, 57, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Stacked cards */
.stack-card {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(159, 18, 57, 0.15);
}

/* Review card */
.review-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(159, 18, 57, 0.08);
  transition: all 0.5s var(--ease-quiet);
  height: 100%;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(159, 18, 57, 0.12);
  border-color: rgba(253, 186, 116, 0.4);
}

/* Newsletter */
.newsletter-bg {
  background: linear-gradient(135deg, var(--rose-deep) 0%, var(--rose-mid) 100%);
  position: relative;
  overflow: hidden;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--rose-deep) 0%, #830E2F 100%);
  position: relative;
  overflow: hidden;
}

/* Process step */
.process-step {
  position: relative;
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(159, 18, 57, 0.08);
  transition: all 0.5s var(--ease-quiet);
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(159, 18, 57, 0.12);
  border-color: rgba(253, 186, 116, 0.4);
}

/* Form success */
.success-msg {
  display: none;
  background: linear-gradient(135deg, rgba(253, 186, 116, 0.2), rgba(244, 63, 94, 0.1));
  border: 1px solid rgba(253, 186, 116, 0.5);
  color: var(--rose-deep);
  padding: 1rem 1.5rem;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
  gap: 0.75rem;
}
.success-msg.is-visible { display: flex; animation: slideIn 0.5s var(--ease-quiet); }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating dashboard card */
.dash-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 50px rgba(159, 18, 57, 0.12);
}

/* No motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .float, .float-delay, .float-slow, .kenburns, .spin-slow { animation: none !important; }
}

/* Mobile nav */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255, 247, 245, 0.98);
  backdrop-filter: blur(20px);
  z-index: 150;
  display: none;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
}
.mobile-menu.is-open { display: flex; }

/* Marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-track { animation: marquee 40s linear infinite; }

.site-nav { background: rgba(255, 247, 245, 0.98); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(159, 18, 57, 0.08); }
.site-nav .nav-link, .site-nav .font-display { color: #4A2632 !important; opacity: 1 !important; visibility: visible !important; font-weight: 600; }
.site-nav .nav-link:hover { color: #F43F5E !important; }
.site-nav.nav-scrolled { box-shadow: 0 8px 24px rgba(159, 18, 57, 0.1); }
.mobile-menu { background: rgba(255, 247, 245, 0.99) !important; }
.mobile-menu a { color: #4A2632 !important; opacity: 1 !important; }
.page-top { padding-top: 9rem; }
.page-heading { max-width: 800px; margin: 0 auto 2.5rem; text-align: center; }
.page-heading h1 { font-family: 'Fraunces', serif; font-size: clamp(2.4rem, 5vw, 4rem); color: #4A2632; line-height: 1.08; }
.page-heading p { color: rgba(74, 38, 50, 0.72); margin-top: 1rem; line-height: 1.8; }
.service-card p { min-height: 6.4em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; }
.legal-content h2 { font-family: 'Fraunces', serif; color: #9F1239; font-size: 1.5rem; margin: 2rem 0 .7rem; }
.legal-content p, .legal-content li { color: rgba(74, 38, 50, 0.78); line-height: 1.8; margin-bottom: .8rem; }

/* Footer visibility fix: enforce readable contrast independently of Tailwind utilities */
footer {
  position: relative;
  isolation: isolate;
  color: #FFFFFF !important;
  background-color: #9F1239;
}
footer > * {
  position: relative;
  z-index: 1;
}
footer :is(p, a, li, span, h1, h2, h3, h4, h5, h6, small, strong, label) {
  color: #FFFFFF !important;
  opacity: 1 !important;
  visibility: visible !important;
}
footer :is(.text-peach, .text-mint, i.text-peach, i.text-mint, .text-peach *, .text-mint *) {
  color: #FDBA74 !important;
}
footer a:hover {
  color: #FED7AA !important;
}
footer .border-t {
  border-color: rgba(255, 255, 255, 0.22) !important;
}
footer .glass-dark {
  color: #FDBA74 !important;
}