/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1a1a2e; line-height: 1.6; background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input { font-family: inherit; }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; border-radius: 10px; border: 2px solid transparent;
  transition: all 0.2s ease; font-size: 15px; padding: 10px 24px;
  white-space: nowrap;
}
.btn-primary { background: #6C63FF; color: #fff; border-color: #6C63FF; }
.btn-primary:hover { background: #5a52e0; border-color: #5a52e0; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(108,99,255,0.3); }
.btn-ghost { background: transparent; color: #6C63FF; }
.btn-ghost:hover { background: rgba(108,99,255,0.08); }
.btn-outline { background: transparent; color: #6C63FF; border-color: #6C63FF; }
.btn-outline:hover { background: #6C63FF; color: #fff; }
.btn-white { background: #fff; color: #6C63FF; border-color: #fff; }
.btn-white:hover { background: #f0f0ff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 6px 16px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ─── NAVBAR ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: all 0.3s ease;
}
.nav.scrolled { border-bottom-color: #e5e7eb; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: #1a1a2e; }
.logo-icon {
  width: 36px; height: 36px; background: #6C63FF; color: #fff;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.logo-icon-sm { width: 28px; height: 28px; font-size: 14px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: #6C63FF; color: #fff; font-weight: 800; }
.logo-text { letter-spacing: -0.5px; }
.logo-img { height: 36px; width: auto; display: block; max-width: 160px; }
.logo-img-sm { height: 22px; width: auto; display: inline-block; vertical-align: middle; max-width: 100px; }
.logo-img-modal { height: 32px; width: auto; display: block; margin: 0 auto; max-width: 140px; }
.logo-img-footer { filter: invert(1) brightness(2); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: #555; transition: color 0.2s; }
.nav-links a:hover { color: #6C63FF; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px;
}
.nav-hamburger span { width: 24px; height: 2px; background: #1a1a2e; border-radius: 2px; transition: all 0.3s; }

/* ─── HERO ─── */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 0; }
.hero-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; z-index: 0;
  opacity: 0; transition: opacity 1.5s ease;
}
.hero-video.hero-video-active { opacity: 1; }
.hero-video.hero-video-center { object-position: center center; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.85) 40%, rgba(240,240,255,0.75) 100%);
}
.hero-grid { display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; width: 100%; padding: 100px 0 60px; max-width: 720px; }
.hero-badge {
  display: inline-block; background: rgba(108,99,255,0.1); color: #6C63FF;
  padding: 6px 16px; border-radius: 100px; font-size: 14px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(135deg, #6C63FF, #9b59b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 18px; color: #555; line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; }
.trust-item strong { color: #1a1a2e; }

/* Hero card */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  background: #fff; border-radius: 20px; padding: 28px;
  box-shadow: 0 20px 60px rgba(108,99,255,0.15), 0 1px 3px rgba(0,0,0,0.06);
  width: 340px; position: relative; z-index: 2;
}
.hero-card-header { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.avatar { border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.avatar-lg { width: 56px; height: 56px; background: linear-gradient(135deg, #6C63FF, #9b59b6); font-size: 18px; }
.avatar-sm { width: 40px; height: 40px; background: linear-gradient(135deg, #6C63FF, #9b59b6); font-size: 14px; }
.hero-card-name { font-weight: 700; font-size: 18px; }
.hero-card-title { font-size: 14px; color: #777; }
.hero-card-stars { display: flex; align-items: center; gap: 2px; margin-top: 4px; }
.hero-card-stars span { margin-left: 8px; font-size: 13px; color: #777; }
.hero-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag { background: #f0f0ff; color: #6C63FF; padding: 4px 12px; border-radius: 100px; font-size: 13px; font-weight: 500; }
.hero-card-rate { display: flex; align-items: center; justify-content: space-between; }
.rate-amount { font-size: 28px; font-weight: 800; color: #1a1a2e; }
.rate-unit { font-size: 16px; color: #777; margin-left: 2px; }


/* ─── SOCIAL PROOF ─── */
.social-proof { background: #6C63FF; padding: 40px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.proof-number { font-size: 36px; font-weight: 800; color: #fff; }
.proof-label { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 500; margin-top: 4px; }

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.section-header p { font-size: 18px; color: #666; max-width: 560px; margin: 0 auto; }

/* ─── PAIN POINTS ─── */
.pain-section { padding: 100px 0; background: #fafafa; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px; }
.pain-card {
  background: #fff; border-radius: 16px; padding: 32px;
  border: 1px solid #eee; transition: transform 0.2s, box-shadow 0.2s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.pain-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 22px; font-weight: 800; margin-bottom: 20px;
}
.pain-icon-red { background: #fef2f2; color: #ef4444; }
.pain-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.pain-card p { font-size: 15px; color: #666; line-height: 1.6; }
.pain-solution { text-align: center; padding-top: 16px; }
.pain-solution h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.pain-solution p { font-size: 16px; color: #666; margin-bottom: 24px; }

/* ─── HOW IT WORKS ─── */
.how-section { padding: 100px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-card { text-align: center; position: relative; }
.step-number {
  width: 32px; height: 32px; background: #6C63FF; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; margin: 0 auto 20px;
}
.step-icon { margin-bottom: 20px; }
.step-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step-card p { font-size: 15px; color: #666; line-height: 1.6; max-width: 300px; margin: 0 auto; }

/* ─── COMPARISON TABLE ─── */
.compare-section { padding: 100px 0; background: #fafafa; }
.compare-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 700px; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.compare-table th { background: #fafafa; font-weight: 700; font-size: 15px; color: #333; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 600; }
.highlight-col { background: rgba(108,99,255,0.04) !important; }
.compare-table th.highlight-col { background: rgba(108,99,255,0.08) !important; color: #6C63FF; }
.check-yes { color: #22C55E; font-weight: 700; }
.check-no { color: #ef4444; font-weight: 600; }
.badge-yes { background: #dcfce7; color: #16a34a; padding: 3px 10px; border-radius: 100px; font-size: 12px; font-weight: 600; }
.badge-no { background: #fef2f2; color: #ef4444; padding: 3px 10px; border-radius: 100px; font-size: 12px; font-weight: 600; }
.compare-note { text-align: center; font-size: 13px; color: #999; margin-top: 16px; }

/* ─── FOR SITTERS ─── */
.sitter-section { padding: 100px 0; }
.sitter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.sitter-content h2 { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.sitter-content > p { font-size: 17px; color: #555; line-height: 1.7; margin-bottom: 28px; }
.sitter-perks { margin-bottom: 32px; }
.sitter-perks li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: 15px; color: #444; }
.sitter-perks li svg { flex-shrink: 0; margin-top: 3px; }

/* Earnings card */
.earnings-card {
  background: #fff; border-radius: 20px; padding: 32px;
  box-shadow: 0 20px 60px rgba(108,99,255,0.12), 0 1px 3px rgba(0,0,0,0.06);
  max-width: 360px; margin: 0 auto;
}
.earnings-card h4 { font-size: 14px; color: #777; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.earnings-amount { font-size: 40px; font-weight: 800; color: #1a1a2e; }
.earnings-label { font-size: 14px; color: #999; margin-bottom: 20px; }
.earnings-bar { height: 8px; background: #f0f0f0; border-radius: 100px; margin-bottom: 24px; overflow: hidden; }
.earnings-bar-fill { height: 100%; background: linear-gradient(90deg, #6C63FF, #9b59b6); border-radius: 100px; }
.earnings-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: #666; border-top: 1px solid #f5f5f5; }
.earnings-row:first-of-type { border-top: none; }
.text-green { color: #22C55E; }

/* ─── PRICING ─── */
.pricing-section { padding: 100px 0; background: #fafafa; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 780px; margin: 0 auto; }
.pricing-card {
  background: #fff; border-radius: 20px; padding: 40px; border: 2px solid #eee;
  transition: transform 0.2s, box-shadow 0.2s; position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.pricing-card-featured { border-color: #6C63FF; }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #6C63FF; color: #fff; padding: 4px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.pricing-type { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 8px; }
.pricing-amount { display: flex; align-items: baseline; margin-bottom: 12px; }
.pricing-dollar { font-size: 24px; font-weight: 700; color: #333; }
.pricing-value { font-size: 56px; font-weight: 800; color: #1a1a2e; line-height: 1; }
.pricing-period { font-size: 16px; color: #999; margin-left: 4px; }
.pricing-desc { font-size: 15px; color: #666; margin-bottom: 24px; line-height: 1.5; }
.pricing-features { margin-bottom: 28px; }
.pricing-features li { padding: 6px 0; font-size: 14px; color: #555; position: relative; padding-left: 24px; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: #6C63FF; font-weight: 700; }

/* ─── TESTIMONIALS ─── */
.testimonials-section { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: #fff; border-radius: 16px; padding: 32px;
  border: 1px solid #eee; transition: transform 0.2s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.testimonial-stars { display: flex; gap: 2px; margin-bottom: 16px; }
.testimonial-card > p { font-size: 15px; color: #444; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 13px; color: #999; }

/* ─── FINAL CTA ─── */
.cta-section {
  padding: 100px 0; text-align: center;
  background: linear-gradient(135deg, #6C63FF 0%, #5a52e0 50%, #4a3fcf 100%);
  color: #fff;
}
.cta-section h2 { font-size: 40px; font-weight: 800; margin-bottom: 12px; letter-spacing: -1px; }
.cta-section > p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.cta-note { font-size: 14px; opacity: 0.7; }

/* ─── FOOTER ─── */
.footer { background: #1a1a2e; color: #ccc; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: #888; margin-top: 12px; line-height: 1.6; }
.footer-brand .logo-text { color: #fff; }
.footer-links h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links a { display: block; font-size: 14px; color: #888; padding: 4px 0; transition: color 0.2s; }
.footer-links a:hover { color: #6C63FF; }
.footer-bottom { border-top: 1px solid #2a2a4e; padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: #666; }

/* ─── AUTH MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; transition: opacity 0.25s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal {
  background: #fff; border-radius: 20px; padding: 40px;
  width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto;
  position: relative; transform: translateY(20px); transition: transform 0.25s ease;
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: none; border: none;
  font-size: 28px; color: #999; line-height: 1; padding: 4px;
}
.modal-close:hover { color: #333; }
.modal-header { text-align: center; margin-bottom: 28px; }
.modal-header h2 { font-size: 24px; font-weight: 800; margin-top: 12px; }
.modal-header p { font-size: 15px; color: #666; margin-top: 4px; }
.success-icon { margin-bottom: 8px; }

/* Form elements */
.form-tabs { display: flex; gap: 4px; background: #f5f5f5; border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.form-tab {
  flex: 1; padding: 10px 16px; border-radius: 8px; border: none;
  background: transparent; font-weight: 600; font-size: 14px; color: #777;
  transition: all 0.2s;
}
.form-tab.active { background: #fff; color: #6C63FF; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px; }
.form-group input {
  width: 100%; padding: 12px 16px; border: 2px solid #e5e7eb; border-radius: 10px;
  font-size: 15px; transition: border-color 0.2s; outline: none;
}
.form-group input:focus { border-color: #6C63FF; }
.form-group input::placeholder { color: #bbb; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.otp-input { text-align: center; font-size: 24px; font-weight: 700; letter-spacing: 8px; }
.form-footer { text-align: center; margin-top: 20px; font-size: 14px; color: #777; }
.form-footer a { color: #6C63FF; font-weight: 600; }
.form-footer a:hover { text-decoration: underline; }
.form-footer span { display: block; margin-top: 8px; }
.form-message { margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-size: 14px; text-align: center; display: none; }
.form-message.error { display: block; background: #fef2f2; color: #ef4444; }
.form-message.success { display: block; background: #dcfce7; color: #16a34a; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .hero-grid { gap: 40px; }
  .section-header h2, .sitter-content h2, .cta-section h2 { font-size: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open, .nav-actions.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: #fff; padding: 24px;
    border-bottom: 1px solid #eee; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-actions.open { top: auto; padding-top: 0; border-bottom: none; box-shadow: none; }

  .hero { min-height: 100vh; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-sub { margin: 0 auto 24px; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-floating-1 { right: 0; }
  .hero-floating-2 { left: 0; }

  .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pain-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .sitter-grid { grid-template-columns: 1fr; }
  .sitter-visual { order: -1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; }
  .hero-card { width: 100%; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-number { font-size: 28px; }
  .modal { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
