/* Heavenly Match — main site styles */
:root {
  --maroon: #7e2e3e;
  --maroon-dark: #5c2230;
  --maroon-light: #9a3d50;
  --cream: #fdf8f0;
  --cream-dark: #f5ebe0;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --accent: #c45c6a;
  --accent-soft: #e8a4ad;
  --gradient: linear-gradient(135deg, #7e2e3e 0%, #9a3d50 50%, #c45c6a 100%);
  --shadow: 0 4px 24px rgba(126, 46, 62, 0.12);
  --shadow-lg: 0 12px 40px rgba(126, 46, 62, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--maroon);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--maroon-light);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--maroon);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.logo-link:hover {
  color: var(--white);
  opacity: 0.92;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.logo-text {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 1px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-cta {
  background: var(--white) !important;
  color: var(--maroon) !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--cream) !important;
  color: var(--maroon-dark) !important;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding: 4rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 55%;
  max-width: 520px;
  aspect-ratio: 1;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: 5%;
  width: 35%;
  max-width: 320px;
  aspect-ratio: 1;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 1rem;
}

.hero-content .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 32rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-orb {
  width: min(100%, 380px);
  aspect-ratio: 1;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.hero-orb img {
  width: 55%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}

.btn-primary:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: var(--white);
  color: var(--maroon);
  border-color: var(--maroon);
}

.btn-outline:hover {
  background: var(--cream);
  color: var(--maroon-dark);
}

.btn-white {
  background: var(--white);
  color: var(--maroon);
}

.btn-white:hover {
  background: var(--cream);
  color: var(--maroon-dark);
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Steps */
.steps {
  background: var(--cream);
}

.steps-layout {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 2.5rem;
}

.steps-phone {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.5rem;
}

.phone-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.phone-rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(126, 46, 62, 0.12);
}

.phone-rings span:nth-child(1) {
  width: 88%;
  height: 88%;
}

.phone-rings span:nth-child(2) {
  width: 72%;
  height: 72%;
  border-color: rgba(196, 92, 106, 0.2);
}

.phone-rings span:nth-child(3) {
  width: 56%;
  height: 56%;
  border-color: rgba(126, 46, 62, 0.28);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(268px, 72vw);
  padding: 10px;
  background: linear-gradient(160deg, #2a2a2a 0%, #111 100%);
  border-radius: 34px;
  box-shadow:
    0 28px 56px rgba(126, 46, 62, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  background: #111;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  border-radius: 26px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
}

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.steps-list::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 2rem;
  bottom: 2rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--maroon) 0%,
    var(--accent-soft) 100%
  );
  opacity: 0.35;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-marker {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}

.step-marker svg {
  width: 26px;
  height: 26px;
}

.step-content h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  color: var(--maroon);
}

.step-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.steps-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin: 2.75rem 0 0;
  text-align: center;
}

/* Why */
.why {
  background: var(--white);
}

.why-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Testimonials */
.testimonials {
  background: var(--maroon);
  color: var(--white);
}

.testimonials .section-header h2,
.testimonials .section-header p {
  color: var(--white);
}

.testimonials .section-header p {
  opacity: 0.85;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.testimonial-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.7;
  font-style: italic;
  opacity: 0.95;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Pricing */
.pricing {
  background: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 720px;
  margin-inline: auto;
}

.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--maroon);
}

.price-card.featured::before {
  content: "Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--maroon);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.price-card h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--maroon);
}

.price-amount {
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
  margin: 0.5rem 0;
  line-height: 1;
  letter-spacing: -0.02em;
}

.price-currency {
  font-size: 2rem;
  font-weight: 300;
}

.price-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  text-align: left;
}

.price-features li {
  padding: 0.55rem 0;
  padding-left: 1.85rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--cream-dark);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li.included::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2d6a4f;
  font-weight: 700;
}

.price-features li.excluded {
  color: var(--text-muted);
}

.price-features li.excluded::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #c1121f;
  font-weight: 700;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-wrap {
  min-width: 0;
}

.form-alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.form-alert--success {
  background: #e8f5e9;
  color: #2d6a4f;
  border: 1px solid #a5d6a7;
}

.form-alert--error {
  background: #fce4e4;
  color: #9b2226;
  border: 1px solid #f5c2c2;
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA band */
.cta-band {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
}

/* Contact */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  color: var(--maroon);
  margin: 0 0 1rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-details li {
  padding: 0.65rem 0;
  color: var(--text-muted);
}

.contact-email {
  margin: 0;
  color: var(--text-muted);
}

.contact-email strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.contact-email a {
  font-size: 1.05rem;
}

.contact-details strong {
  color: var(--text);
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(126, 46, 62, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--maroon-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0;
}

/* Content pages */
.page-hero {
  background: var(--maroon);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.page-content {
  background: var(--white);
  padding: 3rem 0 4rem;
}

.prose {
  max-width: 780px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.25rem;
  color: var(--maroon);
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text-muted);
  line-height: 1.75;
}

.prose ul {
  padding-left: 1.25rem;
}

/* FAQ accordion */
.page-content--faq {
  padding: 2rem 0 3rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-category {
  margin: 0;
  padding: 0;
}

.faq-category h2 {
  font-size: 1.25rem;
  color: var(--maroon);
  margin: 0 0 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--cream-dark);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--cream);
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--maroon);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

.faq-answer p {
  margin: 0 0 0.85rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-orb {
    width: 220px;
  }

  .steps-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .steps-phone {
    order: -1;
    margin-inline: auto;
    max-width: 300px;
  }

  .steps-list {
    text-align: left;
    max-width: 420px;
    margin-inline: auto;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--maroon);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, opacity 0.25s, visibility 0.25s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav a {
    display: block;
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }
}
