/* =============================================
   SARAMATAR.COM — Main Site Styles
   ============================================= */

:root {
  --purple:       #7c3aed;
  --purple-dark:  #5b21b6;
  --purple-light: #ede9fe;
  --pink-bg:      #fdf0f7;
  --pink-light:   #fce7f3;
  --text-dark:    #111827;
  --text-mid:     #374151;
  --text-light:   #6b7280;
  --white:        #ffffff;
  --border:       #e5e7eb;
  --radius:       12px;
  --shadow:       0 2px 12px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Raleway', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.2;
  color: var(--text-dark);
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-dark);
}

.nav-brand img { height: 32px; width: auto; }

.nav-brand-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--purple); }

.nav-cta {
  background: var(--purple);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover {
  background: var(--purple-dark) !important;
  text-decoration: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-dark);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--purple-dark);
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-outline:hover {
  background: var(--purple-light);
  text-decoration: none;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.btn-full { width: 100%; }

/* ---- Page wrapper ---- */
.page-bg {
  background: var(--pink-bg);
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ---- Footer ---- */
footer {
  background: var(--text-dark);
  color: #9ca3af;
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

footer a { color: #d1d5db; }
footer a:hover { color: var(--white); }

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

/* =============================================
   HOME PAGE
   ============================================= */
.hero {
  background: var(--pink-bg);
  padding: 5rem 0 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title span { color: var(--purple); }

.hero-bio {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-photo {
  align-self: flex-end;
}

.hero-photo img {
  width: auto;
  height: auto;
  max-height: 560px;
  max-width: 100%;
  display: block;
}

/* Stats bar */
.stats-bar {
  background: var(--purple);
  color: var(--white);
  padding: 2rem 0;
}

.stats-inner {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Raleway', sans-serif;
}
.stat-label { font-size: 0.85rem; opacity: 0.85; margin-top: 2px; }

/* Testimonial strip */
.testimonial-strip {
  background: var(--white);
  padding: 4rem 0;
}

.strip-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}

.strip-quote {
  text-align: center;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--text-mid);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.strip-attr {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
}

/* CTA section */
.cta-section {
  background: var(--pink-light);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--text-mid);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-photo { order: -1; }
  .hero-photo img { height: 320px; }
  .stats-inner { gap: 2rem; }

  .hero-actions {
    justify-content: center;
    margin-bottom: 0;
  }

  .hero {
    padding-bottom: 3.5rem;
  }
}

/* =============================================
   REVIEWS PAGE
   ============================================= */
.reviews-hero {
  background: var(--pink-bg);
  padding: 3rem 0 2rem;
  text-align: center;
}

.reviews-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.reviews-hero p {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.aggregate-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.stars { color: #f59e0b; letter-spacing: 1px; }

/* Featured review */
.featured-review {
  background: var(--purple);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin: 0 0 2rem;
  position: relative;
}

.featured-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.featured-quote {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.featured-summary {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-style: normal;
}

.featured-author {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Reviews grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0 4rem;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.review-card-stars { color: #f59e0b; font-size: 0.9rem; }

.review-card-summary {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.review-card-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

.review-card-text.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-read-more {
  background: none;
  border: none;
  color: var(--purple);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.review-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  background: var(--purple-light);
  color: var(--purple-dark);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.review-card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

/* =============================================
   SURVEY FORM
   ============================================= */
.survey-page {
  background: var(--pink-light);
  min-height: 100vh;
  padding: 2rem 0 4rem;
}

.survey-header {
  text-align: center;
  margin-bottom: 2rem;
}

.survey-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.25rem;
}

.survey-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
}

/* Progress */
.progress-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s;
}

.progress-dot.active { background: var(--purple); }
.progress-dot.done { background: var(--purple-dark); }

/* Form card */
.survey-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  max-width: 680px;
  margin: 0 auto;
}

.step { display: none; }
.step.active { display: block; }

.step-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.step-subheading {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Toggle */
.toggle-row {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.toggle-row:last-child { border-bottom: none; }

.toggle-question {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.toggle-hint {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.toggle-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toggle-label { font-size: 0.875rem; color: var(--text-mid); }

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider { background: var(--purple); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }

/* Form fields */
.field-group {
  margin-bottom: 1.5rem;
}

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

.field-group label .req { color: var(--purple); }

.field-row {
  display: grid;
  gap: 1rem;
}

.field-row.cols-2 { grid-template-columns: 1fr 1fr; }
.field-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

textarea { resize: vertical; min-height: 110px; }

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
}

/* NPS buttons */
.nps-row {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
  flex-wrap: wrap;
}

.nps-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 1.6rem;
  line-height: 1;
}

.nps-btn span.nps-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
  margin-top: 2px;
}

.nps-btn:hover { border-color: var(--purple); background: var(--purple-light); }
.nps-btn.selected { border-color: var(--purple); background: var(--purple); }
.nps-btn.selected span.nps-num { color: rgba(255,255,255,0.8); }

.nps-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Feature chips */
.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.chip-toggle {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--text-mid);
}

.chip-toggle:hover { border-color: var(--purple); color: var(--purple); }
.chip-toggle.selected {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

/* Form nav */
.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Thank you */
.thankyou-screen {
  text-align: center;
  padding: 2rem 0;
}

.thankyou-icon {
  width: 72px;
  height: 72px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.thankyou-screen h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.thankyou-screen p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .survey-card { padding: 1.5rem; }
  .field-row.cols-2,
  .field-row.cols-3 { grid-template-columns: 1fr; }
  .nps-btn { width: 56px; height: 56px; font-size: 1.3rem; }
}
