/* =====================================================
   ReviewScribe – Global Styles (converted from React)
   ===================================================== */

/* ---------- Font Imports ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* Geist font (similar to Inter – use Inter as fallback) */
:root {
  --color-purple: #a750ff;
  --color-teal:   #01CBA2;
  --color-yellow: #fdca00;
  --color-dark:   #030213;
  --color-text:   #4d4d4d;
  --color-muted:  #808080;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #ffffff;
  color: #000;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography helpers ---------- */
.font-geist { font-family: 'Inter', system-ui, sans-serif; }
.font-inter  { font-family: 'Inter', system-ui, sans-serif; }

/* ---------- Scroll-reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Hero entry animation ---------- */
.hero-text-anim {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.8s ease 0.2s forwards;
}
.hero-img-anim {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFadeUp 0.8s ease 0.4s forwards;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Navigation ---------- */
nav.floating-nav {
  position: fixed;
  top: 1.5rem;
  left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 1.25rem;
  pointer-events: none;
}
nav.floating-nav .nav-inner {
  max-width: 1280px;
  width: 100%;
  pointer-events: auto;
}
nav.floating-nav .nav-bar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  border-radius: 32px;
  width: 100%;
  box-shadow: 0 4px 24px -8px rgba(0,0,0,0.05);
  border: 0.5px solid rgba(0,0,0,0.1);
  transition: all 0.3s;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 5rem;
  left: 1rem; right: 1rem;
  background: rgba(255,255,255,0.98);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 0.5px solid rgba(0,0,0,0.1);
  z-index: 49;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button {
  font-size: 1rem;
  font-weight: 500;
  color: #4d4d4d;
  text-decoration: none;
  padding: 0.5rem 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}
.mobile-menu a:hover, .mobile-menu button:hover { color: #000; }

/* ---------- Accordion (WooCommerce) ---------- */
.accordion-item {
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  transition: padding 0.3s;
  padding: 1.5rem 0;
}
.accordion-item.first { border-top: 1px solid #ccc; }
.accordion-item.active { padding: 2rem 0; }
.accordion-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: #666;
  transition: color 0.2s;
}
.accordion-item.active .accordion-title { color: #000; }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s;
  opacity: 0;
}
.accordion-item.active .accordion-body {
  max-height: 200px;
  opacity: 1;
}
.accordion-body p {
  font-size: 1rem;
  color: #4d4d4d;
  line-height: 1.5;
  padding-top: 0.5rem;
}

/* Accordion image container */
.accordion-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  border: 2px solid;
}
.accordion-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.3s ease;
}

/* ---------- Section divider stripe ---------- */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}
.section-divider .stripe {
  background: var(--color-yellow);
  height: 4px;
  border-radius: 99px;
  width: 24px;
  flex-shrink: 0;
}
.section-divider .label {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.64px;
  text-transform: uppercase;
  color: #4d4d4d;
  white-space: nowrap;
}
.section-divider .dashed-line {
  flex: 1;
  height: 1px;
  opacity: 0.4;
  background-image: repeating-linear-gradient(to right, #999 0px, #999 10px, transparent 10px, transparent 20px);
}

/* Purple variant (WooCommerce sections) */
.section-divider .stripe.purple { background: var(--color-purple); }

/* ---------- Bullet points ---------- */
.bullet-list { display: flex; flex-direction: column; gap: 0.5rem; }
.bullet-item { display: flex; align-items: center; gap: 0.75rem; }
.bullet-dot { flex-shrink: 0; width: 12px; height: 12px; }
.bullet-text { font-size: 1.125rem; color: #4d4d4d; line-height: 1.44; letter-spacing: -0.09px; }

/* ---------- Feature section layout ---------- */
.feature-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  width: 100%;
  max-width: 510px;
  flex-shrink: 0;
}
.feature-section h4 {
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 2.375rem;
  letter-spacing: -0.14px;
  color: #000;
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(to bottom, #180031, #012a21);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 1.25rem;
  min-height: 480px;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: #f5eaff;
  overflow: hidden;
  position: relative;
  padding: 3.5rem 0;
}

/* ---------- Utility: line-clamp, selection ---------- */
::selection { background: rgba(167, 80, 255, 0.2); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .desktop-nav-links { display: none !important; }
  .mobile-menu-btn  { display: flex !important; }
}
@media (min-width: 1024px) {
  .mobile-menu-btn { display: none !important; }
  nav.floating-nav  { padding: 0; }
}
@media (max-width: 1280px) {
  nav.floating-nav { padding: 0 1.25rem; }
}

/* ---------- WooCommerce Hero circles ---------- */
.woo-hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
  min-width: 1440px;
  z-index: 0;
}
.woo-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

/* ---------- Parallax (JS-driven via data-parallax) ---------- */
.parallax-el { will-change: transform; }
