/* ============================================
   CricLineExpert — style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --bg-base:        #020617;
  --bg-900:         #0f172a;
  --bg-800:         #1e293b;
  --bg-700:         #334155;
  --border:         #1e293b;
  --border-light:   #334155;
  --emerald:        #34d399;
  --emerald-dark:   #059669;
  --emerald-glow:   rgba(52, 211, 153, 0.15);
  --emerald-border: rgba(52, 211, 153, 0.2);
  --white:          #f8fafc;
  --text-muted:     #94a3b8;
  --text-dim:       #64748b;
  --amber:          #fbbf24;
  --green-btn:      #22c55e;
  --green-hover:    #16a34a;
  --radius-sm:      8px;
  --radius:         12px;
  --radius-lg:      16px;
  --radius-xl:      20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--emerald);
}
.logo-white { color: var(--white); }
.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-glow);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 999px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  animation: ping 1.4s ease-in-out infinite;
}
@keyframes ping {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

/* ── HERO ── */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(52, 211, 153, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  background: var(--emerald-glow);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 auto 20px;
}
.accent { color: var(--emerald); }
.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero-sub strong { color: var(--white); }

/* ── WHATSAPP BUTTON ── */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green-btn);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.35);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-whatsapp:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.45);
}
.pulse { animation: pulse-anim 2.2s ease-in-out infinite; }
@keyframes pulse-anim {
  0%   { box-shadow: 0 8px 32px rgba(34, 197, 94, 0.35); }
  50%  { box-shadow: 0 8px 48px rgba(34, 197, 94, 0.6), 0 0 0 12px rgba(34, 197, 94, 0.08); }
  100% { box-shadow: 0 8px 32px rgba(34, 197, 94, 0.35); }
}

/* ── TRUST BADGES ── */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.badge-item { display: flex; align-items: center; gap: 6px; }
.badge-icon.green  { color: var(--emerald); }
.badge-icon.yellow { color: var(--amber); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--bg-900);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 40px;
}
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--emerald);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-light);
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-900);
  text-align: center;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--emerald);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.step-card:hover {
  border-color: var(--emerald-border);
  box-shadow: 0 4px 32px rgba(52, 211, 153, 0.07);
}
.step-num {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--emerald-glow);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon { font-size: 2rem; margin-bottom: 16px; }
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }

/* ── FEATURES ── */
.features-section { padding: 80px 0; text-align: center; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover {
  border-color: var(--emerald-border);
  transform: translateY(-2px);
}
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg-900);
  text-align: center;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: left;
}
.stars { color: var(--amber); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--emerald-glow);
  border: 2px solid var(--emerald-border);
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-name { font-size: 0.88rem; font-weight: 700; }
.author-city { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA BANNER ── */
.cta-banner { padding: 48px 0; }
.cta-inner {
  background: linear-gradient(135deg, rgba(4, 120, 87, 0.25) 0%, var(--bg-900) 100%);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.cta-text p  { color: var(--text-muted); font-size: 0.9rem; }
.btn-cta {
  display: inline-block;
  background: var(--emerald-dark);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 16px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(52, 211, 153, 0.2);
  transition: background 0.2s, transform 0.2s;
}
.btn-cta:hover { background: #047857; transform: translateY(-1px); }

/* ── LEGAL ── */
.legal-section {
  padding: 48px 0;
  background: rgba(15, 23, 42, 0.6);
  border-top: 1px solid var(--border);
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.legal-card {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.legal-card h4 { font-size: 0.9rem; font-weight: 700; color: #e2e8f0; margin-bottom: 12px; }
.legal-card p  { color: var(--text-dim); font-size: 0.78rem; line-height: 1.7; }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner { text-align: center; }
.footer-logo {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.footer-logo span { color: var(--bg-700); }
.disclaimer {
  color: #475569;
  font-size: 0.75rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 16px;
}
.copyright { color: #334155; font-size: 0.72rem; }

/* ── MOBILE STICKY ── */
.mobile-sticky {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 999;
}
.btn-mobile-sticky {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-btn);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 18px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.5);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .mobile-sticky  { display: block; }
  .stat-divider   { display: none; }
  .stat-item      { padding: 8px 20px; }
  .steps-grid     { grid-template-columns: 1fr; }
  .cta-inner      { padding: 28px 24px; }
  .cta-text h3    { font-size: 1.1rem; }
  .btn-cta        { width: 100%; text-align: center; }
  .hero           { padding: 60px 0 48px; }
  .trust-badges   { gap: 14px; }
  .btn-whatsapp   { font-size: 0.95rem; padding: 16px 24px; }
  .features-grid  { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  body            { padding-bottom: 90px; }
}
@media (max-width: 480px) {
  .hero-title  { font-size: 1.7rem; }
  .section-title { font-size: 1.4rem; }
}
