/* ========================================
   Resonance Frequency Service Page
   ======================================== */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2D2D2D;
  background: #FAFAF8;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: #7BA69E; text-decoration: none; transition: color 0.2s; }
a:hover { color: #5e8a82; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
}

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

/* --- Hero --- */
.rf-hero {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  background: linear-gradient(180deg, #FAFAF8 0%, #F0F0EC 100%);
}

.rf-hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7BA69E;
  margin-bottom: 1.5rem;
}

.rf-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #2D2D2D;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.rf-hero-title em {
  font-style: italic;
  color: #7BA69E;
}

.rf-hero-subtitle {
  font-size: 1.1875rem;
  color: #555;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.rf-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  color: #7BA69E;
  border: 2px solid #7BA69E;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  transition: all 0.3s;
}

.rf-hero-cta:hover {
  background: #7BA69E;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Sections --- */
.rf-section {
  padding: 6rem 0;
}

.rf-section--alt {
  background: linear-gradient(180deg, #F4F4F0 0%, #FAFAF8 100%);
}

.rf-section-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7BA69E;
  margin-bottom: 0.75rem;
}

.rf-section h2 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.rf-rule {
  width: 48px;
  height: 3px;
  background: #7BA69E;
  border-radius: 2px;
  margin: 1.25rem 0 1.75rem;
}

.rf-rule--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Two-Column Layout --- */
.rf-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.rf-two-col--reverse .rf-col-text { order: 1; }
.rf-two-col--reverse .rf-col-visual { order: 2; }

.rf-col-text p {
  margin-bottom: 1rem;
  color: #444;
}

.rf-col-text p strong {
  color: #2D2D2D;
}

.rf-text-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
}

/* --- Frequency Display --- */
.rf-freq-display {
  background: linear-gradient(135deg, #2D2D2D, #3a3a3a);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  text-align: center;
  color: #fff;
}

.rf-freq-range {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  color: #7BA69E;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.rf-freq-unit {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 1rem;
}

.rf-freq-caption {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 1.5rem;
}

.rf-freq-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  position: relative;
}

.rf-freq-marker {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #7BA69E;
  border-radius: 50%;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(123, 166, 158, 0.5);
  animation: rf-pulse 3s ease-in-out infinite;
}

@keyframes rf-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(123, 166, 158, 0.4); }
  50% { box-shadow: 0 0 20px rgba(123, 166, 158, 0.7); }
}

/* --- Centered Content --- */
.rf-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.rf-intro-text {
  font-size: 1.0625rem;
  color: #555;
  margin-top: 1rem;
  line-height: 1.7;
}

/* --- Steps --- */
.rf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.rf-step {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.rf-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.rf-step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #7BA69E;
  margin-bottom: 1rem;
  line-height: 1;
}

.rf-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.rf-step p {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.65;
}

/* --- Screenshot --- */
.rf-screenshot-wrap {
  background: linear-gradient(135deg, #1a1e2e, #252a3a);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.rf-screenshot {
  display: block;
  width: 100%;
  border-radius: 8px;
}

/* --- Metric List --- */
.rf-metric-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.rf-metric-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.6;
}

.rf-metric-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: #7BA69E;
  border-radius: 50%;
}

.rf-metric-list li strong {
  color: #2D2D2D;
}

/* --- Outcomes --- */
.rf-outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.rf-outcome {
  text-align: center;
  padding: 2rem 1.5rem;
}

.rf-outcome-icon {
  color: #7BA69E;
  margin-bottom: 1.25rem;
}

.rf-outcome h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.rf-outcome p {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.65;
}

/* --- Audience Grid --- */
.rf-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.rf-audience-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.rf-audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.rf-audience-card h3 {
  font-size: 1.25rem;
  color: #7BA69E;
  margin-bottom: 0.5rem;
}

.rf-audience-card p {
  font-size: 0.9375rem;
  color: #555;
  line-height: 1.7;
}

/* --- CTA Section --- */
.rf-cta-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, #FAFAF8 0%, #F0F0EC 100%);
}

.rf-cta-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.rf-cta-block h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.rf-cta-block p {
  font-size: 1.0625rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.rf-btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.rf-btn--primary {
  background: #7BA69E;
  color: #fff;
  border-color: #7BA69E;
}

.rf-btn--primary:hover {
  background: #5e8a82;
  border-color: #5e8a82;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(123, 166, 158, 0.3);
}

.rf-btn--outline {
  background: transparent;
  color: #7BA69E;
  border-color: #7BA69E;
}

.rf-btn--outline:hover {
  background: #7BA69E;
  color: #fff;
  transform: translateY(-2px);
}

/* --- Footer --- */
.rf-footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.rf-footer-line {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.1875rem;
  color: #7BA69E;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .rf-steps,
  .rf-outcomes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rf-hero {
    min-height: auto;
    padding: 7rem 1.5rem 4rem;
  }

  .rf-section {
    padding: 4rem 0;
  }

  .rf-section h2 {
    font-size: 1.75rem;
  }

  .rf-two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rf-two-col--reverse .rf-col-text { order: 1; }
  .rf-two-col--reverse .rf-col-visual { order: 2; }

  .rf-steps,
  .rf-outcomes {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .rf-audience-grid {
    grid-template-columns: 1fr;
  }

  .rf-freq-range {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  html { font-size: 15px; }

  .rf-hero-title {
    font-size: 1.75rem;
  }

  .rf-step,
  .rf-audience-card {
    padding: 1.5rem;
  }

  .rf-screenshot-wrap {
    padding: 1rem;
  }
}
