/*
Theme Name: Wish Grow Travel Leads
Theme URI: https://wishgrow.com
Author: Wish Grow
Author URI: https://wishgrow.com
Description: A single-page WordPress theme for Wish Grow — Travel Lead Generation Specialists. Features hero, problem, results, system, case study, testimonials, services, FAQ, and CTA sections.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wishgrow-travel
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ========== CSS RESET & GLOBALS ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f7f6;
  --fg: #0d1f1a;
  --card: #eef2f0;
  --card-fg: #0d1f1a;
  --primary: #0f9b58;
  --primary-fg: #ffffff;
  --secondary: #e8ece9;
  --muted: #e8ece9;
  --muted-fg: #5e7068;
  --accent: #d4f0e0;
  --accent-fg: #0a7a42;
  --destructive: #e53935;
  --border: #dce3df;
  --gold: #f5a623;
  --gold-bg: rgba(245, 166, 35, 0.15);
  --hero-bg: #0b1a14;
  --hero-fg: #f0f4f2;
  --hero-muted: #8a9e93;
  --radius: 0.75rem;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

.font-display {
  font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ========== LAYOUT ========== */
.container {
  max-width: 540px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--primary);
  color: var(--primary-fg);
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 12px;
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: filter 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shine 2.5s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -100%; }
  60% { left: 120%; }
  100% { left: 120%; }
}

/* ========== BADGES ========== */
.gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--gold-bg);
  color: var(--gold);
  border: 1px solid rgba(245, 166, 35, 0.3);
}

/* ========== HERO ========== */
.hero-section {
  background: linear-gradient(165deg, hsl(160 40% 6%), hsl(160 50% 10%), hsl(160 40% 6%));
  color: var(--hero-fg);
  padding: 56px 20px 64px;
}

.hero-section h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-section h1 span {
  color: var(--primary);
}

.hero-section .subtitle {
  color: var(--hero-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-scarcity {
  color: var(--hero-muted);
  font-size: 0.875rem;
  text-align: center;
  margin-top: 12px;
}

/* ========== SECTIONS ========== */
.section-light {
  background: var(--bg);
  padding: 48px 20px;
}

.section-card {
  background: var(--card);
  padding: 48px 20px;
}

.section-dark {
  background: linear-gradient(165deg, hsl(160 40% 6%), hsl(160 50% 10%), hsl(160 40% 6%));
  color: var(--hero-fg);
  padding: 56px 20px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--muted-fg);
  margin-bottom: 24px;
  font-size: 0.875rem;
}

/* ========== PROBLEM CARDS ========== */
.problem-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(229, 57, 53, 0.05);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(229, 57, 53, 0.15);
  margin-bottom: 12px;
}

.problem-card .icon {
  color: var(--destructive);
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-card span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========== RESULT CARDS ========== */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-card {
  background: var(--hero-bg);
  border: 1px solid rgba(15, 155, 88, 0.15);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.result-card .number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.result-card .label {
  font-size: 0.75rem;
  color: var(--hero-muted);
  margin-top: 4px;
}

/* ========== STEP CARDS ========== */
.step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.step-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 155, 88, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.step-label {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-card p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ========== CASE STUDY ========== */
.case-study-card {
  background: var(--card);
  border: 1px solid rgba(15, 155, 88, 0.3);
  box-shadow: 0 0 20px rgba(15, 155, 88, 0.08);
  border-radius: 12px;
  padding: 24px;
}

.case-study-card .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.case-study-card .stat-box {
  background: rgba(15, 155, 88, 0.08);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.case-study-card .stat-box .num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.case-study-card .stat-box .lbl {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  background: var(--hero-bg);
  border: 1px solid rgba(15, 155, 88, 0.15);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.testimonial-card .stars {
  color: var(--primary);
  margin-bottom: 12px;
}

.testimonial-card .text {
  color: var(--hero-fg);
  line-height: 1.6;
  margin-bottom: 12px;
}

.testimonial-card .author {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--hero-fg);
}

.testimonial-card .business {
  font-size: 0.75rem;
  color: var(--hero-muted);
}

/* ========== CHECKLIST ========== */
.checklist-card {
  border: 2px solid rgba(15, 155, 88, 0.2);
  border-radius: 12px;
  padding: 24px;
  background: var(--accent);
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 500;
}

.checklist-item svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* ========== PROMISE CARDS ========== */
.promise-card {
  border: 2px solid rgba(15, 155, 88, 0.2);
  border-radius: 12px;
  padding: 20px;
  background: var(--accent);
  margin-bottom: 16px;
}

.promise-card .promise-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 155, 88, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.promise-card h3 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.promise-card p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ========== FAQ ========== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  margin-bottom: 12px;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .answer {
  padding: 0 20px 16px;
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ========== TRUST BADGES ========== */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border-radius: 999px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-badge svg {
  color: var(--primary);
}

/* ========== ICON CIRCLES ========== */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 155, 88, 0.12);
  color: var(--primary);
  margin: 0 auto 16px;
}

/* ========== GUARANTEE ========== */
.guarantee-card {
  background: var(--hero-bg);
  border: 1px solid rgba(15, 155, 88, 0.15);
  border-radius: 12px;
  padding: 20px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: hsl(160 40% 4%);
  color: var(--hero-muted);
  text-align: center;
  padding: 24px 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ========== STICKY CTA ========== */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0 12px;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta .btn-primary {
  font-size: 1rem;
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  background: var(--primary);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ========== MODAL / FORM ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 26, 0.6);
}

.modal-content {
  position: relative;
  background: var(--bg);
  width: 100%;
  max-width: 28rem;
  border-radius: 16px 16px 0 0;
  padding: 24px;
  max-height: 92vh;
  overflow-y: auto;
  z-index: 10;
}

.form-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 1rem;
  background: var(--bg);
  color: var(--fg);
  margin-bottom: 12px;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
}

.form-input::placeholder {
  color: var(--muted-fg);
}

.form-highlight {
  background: var(--accent);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}

.form-highlight .check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 500;
}

.form-highlight .check-item:last-child {
  margin-bottom: 0;
}

.form-highlight .check-item span.check {
  color: var(--primary);
  margin-top: 2px;
  font-size: 0.875rem;
}

/* ========== NAVIGATION ========== */
.site-header {
  position: relative;
  z-index: 30;
}

.nav-menu {
  display: none; /* minimal header for single-page */
}

/* ========== RESPONSIVE ========== */
@media (min-width: 768px) {
  .container {
    max-width: 640px;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .sticky-cta {
    display: none !important;
  }
  
  .whatsapp-float {
    display: flex;
  }
  
  .modal-content {
    border-radius: 16px;
    margin: 0 16px;
  }
}
