/* Tracking Match — warm, modern consumer theme (landing + refund pages) */

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================== Navbar ============================== */

.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 249, 245, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.navbar-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo::before {
  content: '✦';
  color: var(--accent);
  margin-right: 6px;
}

.tagline {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.navbar-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  display: block;
  transition: all 0.3s ease;
}

.navbar-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.navbar-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.navbar-cta {
  padding: 10px 22px;
  font-size: 13px;
  margin-left: 4px;
}

.navbar-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

.navbar-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color var(--transition);
}

.navbar-link:hover {
  color: var(--accent);
}

/* ============================== Hero ============================== */

.hero {
  padding: 64px 0 88px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero-content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-tint);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
  width: fit-content;
}

.badge-icon {
  font-size: 14px;
}

.badge-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.3px;
}

.hero-content h1 {
  font-size: 54px;
  line-height: 1.12;
  margin: 0 0 24px;
  color: var(--text-primary);
}

.hero-content h1 .accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 640px;
}

.stat {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  text-align: center;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Decorative warm blobs replacing the old terminal/glow visuals */
.hero-visual {
  position: absolute;
  inset: -120px -160px auto auto;
  width: 480px;
  height: 480px;
  z-index: 0;
  pointer-events: none;
}

.glow-orb {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 107, 71, 0.28) 0%, rgba(255, 138, 102, 0.14) 45%, transparent 70%);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
  filter: blur(20px);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-24px); }
}

/* ============================== Sections shared ============================== */

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 38px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* ============================== Features ============================== */

.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  height: 100%;
}

.feature-box {
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon-bg {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ============================== How it works ============================== */

.how-it-works {
  padding: 100px 0;
  background: var(--bg-alt);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ============================== Pricing ============================== */

.pricing {
  padding: 100px 0;
}

.pricing-grid {
  display: flex;
  justify-content: center;
}

.pricing-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  text-align: center;
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
}

.pricing-tier {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 12px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 12px 0 2px;
}

.pricing-price::before {
  content: '$';
  font-size: 28px;
  vertical-align: top;
  color: var(--text-secondary);
  margin-right: 2px;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.pricing-list i {
  color: var(--success);
}

/* ============================== Testimonials ============================== */

.testimonials {
  padding: 100px 0;
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-content p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.author-name {
  font-weight: 700;
  font-size: 14px;
}

.author-title {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================== FAQ ============================== */

.faq {
  padding: 100px 0;
}

.faq-grid {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--accent);
  transition: transform var(--transition);
}

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

.faq-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 0;
}

/* ============================== CTA ============================== */

.cta-section {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
}

.cta-section h2 {
  color: #fff;
  font-size: 34px;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 16px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
  background: #fff5f0;
  transform: translateY(-1px);
}

/* ============================== Footer ============================== */

.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  max-width: 260px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.social-icon:hover {
  background: var(--accent);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
  margin: 0;
}

/* ============================== Payment modal extras ============================== */

.payment-modal-title {
  font-size: 20px;
  margin: 0 0 8px;
  padding-right: 24px;
}

.payment-modal-desc {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0 0 24px;
}

.address-section {
  margin-bottom: 18px;
}

.address-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 8px;
}

.address-block {
  display: flex;
  gap: 8px;
}

.address-input {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}

.whatsapp-fallback {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.whatsapp-fallback p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

/* ============================== Refund / policy pages ============================== */

.policy-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px 20px;
  line-height: 1.8;
}

.policy-header {
  text-align: center;
  margin-bottom: 50px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 24px;
}

.policy-header h1 {
  font-size: 2.4em;
  margin-bottom: 10px;
}

.policy-header p {
  color: var(--text-muted);
  font-size: 0.95em;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 1.4em;
  color: var(--accent-dark);
  margin: 30px 0 15px;
}

.policy-section h3 {
  font-size: 1.1em;
  margin: 20px 0 10px;
}

.policy-section p,
.policy-section li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.policy-section ul,
.policy-section ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

.policy-section a {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.policy-highlight {
  background: var(--accent-tint);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin: 20px 0;
  border-radius: var(--radius-sm);
}

.policy-highlight strong {
  color: var(--accent-dark);
}

.policy-footer {
  background: var(--bg-alt);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 40px;
  text-align: center;
  border: 1px solid var(--border);
}

.policy-footer p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95em;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--accent);
}

.simple-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
}

.simple-footer p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.simple-footer a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.simple-footer .copyright {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================== Responsive ============================== */

@media (max-width: 900px) {
  .features-grid,
  .steps-container,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    align-items: flex-start;
    display: none;
    box-shadow: var(--shadow-md);
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .navbar-divider {
    display: none;
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 32px;
  }
}
