/* ── SHARED PAGE STYLES ── */

/* Page hero — used across service + pricing pages */
.page-hero {
  padding: 80px 0 60px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-tag {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-display);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin-bottom: 20px;
}

.page-hero .lede {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.page-hero .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #1fc47d;
  box-shadow: 0 0 28px rgba(34, 214, 138, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  background: transparent;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--fg);
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 80px 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 48px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
}

.step-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.step-item:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── OUTCOME CARDS ── */
.outcomes {
  padding: 80px 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
}

.outcome-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.outcome-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.outcome-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ── FAQ ── */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  margin-top: 40px;
  max-width: 680px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

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

.faq-a {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  padding-bottom: 20px;
  display: none;
}

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

/* ── CTA BANNER ── */
.cta-banner {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, var(--accent-glow) 0%, transparent 70%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: var(--fg-muted);
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ── PRICING ── */
.pricing-section {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: start;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent-dim);
  box-shadow: 0 0 40px rgba(34, 214, 138, 0.08);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}

.price-card-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.price-setup {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.price-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.price-features li {
  font-size: 14px;
  color: var(--fg-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.price-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-price {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 13px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-price-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-price-primary:hover {
  background: #1fc47d;
  box-shadow: 0 0 24px rgba(34, 214, 138, 0.25);
}

.btn-price-outline {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-price-outline:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── GET STARTED FORM ── */
.get-started-section {
  padding: 60px 0 100px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.form-sidebar h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.form-sidebar p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}

.form-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-trust-list li {
  font-size: 14px;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-trust-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
}

.request-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(138, 138, 154, 0.5);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 3px rgba(34, 214, 138, 0.08);
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238a8a9a' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-field select option {
  background: var(--bg-card);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit-btn {
  width: 100%;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  margin-top: 8px;
}

.form-submit-btn:hover {
  background: #1fc47d;
  box-shadow: 0 0 28px rgba(34, 214, 138, 0.3);
  transform: translateY(-1px);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-error {
  background: rgba(255, 77, 77, 0.08);
  border: 1px solid rgba(255, 77, 77, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--red);
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 48px 32px;
}

.form-success .success-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 24px;
  border: 1px solid var(--accent-dim);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.form-success p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── INTERACTIVE DEMO ── */
.demo-section {
  padding: 80px 0;
}

.demo-stage {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 720px;
  margin: 48px auto 0;
}

.demo-phone-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  max-width: 360px;
  margin: 0 auto 32px;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.phone-contact {
  width: 36px;
  height: 36px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid var(--accent-dim);
  flex-shrink: 0;
}

.phone-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.phone-status {
  font-size: 12px;
  color: var(--fg-muted);
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.chat-msg.visible {
  opacity: 1;
  transform: translateY(0);
}

.chat-msg.incoming {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.outgoing {
  background: var(--accent);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-time {
  font-size: 11px;
  color: var(--fg-muted);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.chat-time.visible {
  opacity: 1;
}

.demo-controls {
  text-align: center;
}

.demo-step-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 16px;
  min-height: 20px;
  transition: opacity 0.3s;
}

.demo-btn {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: 13px 32px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.demo-btn:hover {
  background: #1fc47d;
  box-shadow: 0 0 20px rgba(34, 214, 138, 0.25);
  transform: translateY(-1px);
}

.demo-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.demo-restart {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 12px;
  display: none;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.2s;
}

.demo-restart:hover {
  color: var(--accent);
}

.demo-restart.visible {
  display: inline-block;
}

/* ── RESPONSIVE FOR PAGES ── */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  .demo-stage {
    padding: 24px 16px;
  }
}
