/* =====================================================
   Criptech - New Design System
   Inspired by Liqi.com.br
   ===================================================== */

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

/* =====================================================
   1. DESIGN TOKENS
   ===================================================== */
:root {
  --primary-start: #5B21B6;
  --primary-end: #7C3AED;
  --primary-gradient: linear-gradient(135deg, #5B21B6 0%, #7C3AED 100%);
  --text-dark: #0F172A;
  --text-body: #64748B;
  --text-muted: #94A3B8;
  --border: #E5E7EB;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FF;
  --bg-lighter: #F0F4FF;
  --bg-footer: #0F172A;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-button: 0 4px 12px rgba(124,58,237,0.3);
  --shadow-hero: 0 8px 24px rgba(124,58,237,0.4);
  --shadow-featured: 0 20px 40px rgba(124,58,237,0.15);
  --section-pad: 100px 60px;
  --max-w: 1320px;
}

/* =====================================================
   2. BASE RESET
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }
button { cursor: pointer; font-family: 'Inter', sans-serif; border: none; }

/* =====================================================
   3. UTILITIES
   ===================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-button);
  transition: opacity 0.2s, transform 0.15s;
  border: none;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); color: #fff; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-secondary:hover { border-color: var(--primary-end); color: var(--primary-end); transform: translateY(-1px); }

/* =====================================================
   4. HEADER / NAVBAR
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 16px rgba(15,23,42,0.07);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary-end); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta .btn-login {
  padding: 10px 24px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-button);
  transition: opacity 0.2s, transform 0.15s;
}
.nav-cta .btn-login:hover { opacity: 0.9; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-white);
}
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* =====================================================
   5. HERO SECTION
   ===================================================== */
.hero-section {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: -200px;
  right: -200px;
  pointer-events: none;
}

.hero-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.hero-badge .badge-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-end);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-badge .badge-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
}

.hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-content h1 .gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  padding: 16px 32px;
  font-size: 15px;
  box-shadow: var(--shadow-hero);
}

.hero-actions .btn-secondary {
  padding: 16px 32px;
  font-size: 15px;
}

.hero-illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.hero-visual {
  width: 440px;
  height: 400px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(59,130,246,0.08) 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, transparent 70%);
  border-radius: 50%;
  top: 40px;
  left: 60px;
}

.hero-visual::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(124,58,237,0.18);
  border-radius: 50%;
  bottom: 40px;
  right: 40px;
}

/* =====================================================
   6. FEATURES SECTION
   ===================================================== */
.features-section {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
}

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

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(59,130,246,0.08) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
}

/* =====================================================
   7. STATS SECTION
   ===================================================== */
.stats-section {
  padding: var(--section-pad);
  background: linear-gradient(135deg, #FAFBFC 0%, #F5F7FC 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item .stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-item .stat-label {
  font-size: 15px;
  color: var(--text-body);
}

/* =====================================================
   8. PRICING SECTION
   ===================================================== */
.pricing-section {
  padding: var(--section-pad);
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s;
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
  border-color: var(--primary-end);
  box-shadow: var(--shadow-featured);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  padding: 6px 14px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 16px;
  margin-bottom: 8px;
}

.pricing-card .pricing-desc {
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 28px;
}

.pricing-price {
  margin-bottom: 28px;
}

.pricing-price .from {
  display: block;
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 4px;
}

.pricing-price .amount {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary { width: 100%; margin-bottom: 28px; }

.pricing-card .btn-outline-purple {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border: 2px solid var(--primary-end);
  color: var(--primary-end);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  transition: background 0.2s, color 0.2s;
}
.pricing-card .btn-outline-purple:hover { background: rgba(124,58,237,0.06); }

.pricing-features { flex: 1; }

.pricing-features li {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  color: var(--primary-end);
  font-weight: 700;
  flex-shrink: 0;
}

/* =====================================================
   9. FAQ SECTION
   ===================================================== */
.faq-section {
  padding: var(--section-pad);
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto 64px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  user-select: none;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(124,58,237,0.08);
  color: var(--primary-end);
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  transition: background 0.2s, transform 0.25s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: rgba(124,58,237,0.15);
}

.faq-answer {
  display: none;
  padding: 0 28px 24px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}
.faq-item.open .faq-answer { display: block; }

.faq-footer {
  text-align: center;
}
.faq-footer p {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 16px;
}

/* =====================================================
   10. CTA SECTION
   ===================================================== */
.cta-section {
  padding: 100px 60px;
  background: var(--primary-gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -150px;
  left: -100px;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -80px;
  right: -60px;
  pointer-events: none;
}

.cta-wrap {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.cta-wrap h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.cta-wrap p {
  font-size: 18px;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  padding: 16px 40px;
  background: #fff;
  color: var(--primary-start);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  padding: 16px 40px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.8);
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* =====================================================
   11. FOOTER
   ===================================================== */
.site-footer {
  background: var(--bg-footer);
  padding: 64px 0 0;
  border-top: 1px solid rgba(148,163,184,0.08);
}

.footer-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-brand h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 290px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(148,163,184,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}
.footer-socials a:hover { background: rgba(124,58,237,0.3); color: #fff; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col ul li a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(148,163,184,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-lang {
  display: flex;
  gap: 8px;
}
.footer-lang a {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 12px;
  border: 1px solid rgba(148,163,184,0.2);
  border-radius: var(--radius-sm);
  transition: color 0.2s, border-color 0.2s;
}
.footer-lang a:hover, .footer-lang a.active { color: #fff; border-color: rgba(148,163,184,0.5); }

/* =====================================================
   12. WHATSAPP FLOATING BUTTON
   ===================================================== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  color: #fff;
}

/* =====================================================
   13. RESPONSIVE
   ===================================================== */

/* Large tablet / small desktop */
@media (max-width: 1100px) {
  :root { --section-pad: 80px 40px; }
  .container, .nav-wrap, .hero-wrap, .footer-wrap { padding-left: 40px; padding-right: 40px; }
  .hero-content h1 { font-size: 46px; }
  .cta-wrap h2 { font-size: 40px; }
  .section-header h2 { font-size: 36px; }
}

/* Tablet */
@media (max-width: 900px) {
  :root { --section-pad: 72px 32px; }
  .container, .nav-wrap, .hero-wrap, .footer-wrap { padding-left: 32px; padding-right: 32px; }

  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-login { display: none; }

  /* Hero */
  .hero-wrap { flex-direction: column; gap: 48px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-illustration { width: 100%; justify-content: center; }
  .hero-visual { width: 100%; max-width: 400px; height: 280px; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-section { padding: 80px 32px; }
  .cta-wrap h2 { font-size: 36px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --section-pad: 60px 20px; }
  .container, .nav-wrap, .hero-wrap, .footer-wrap { padding-left: 20px; padding-right: 20px; }

  /* Nav */
  .nav-wrap { padding: 16px 20px; }

  /* Hero */
  .hero-section { padding: 72px 0 60px; }
  .hero-content h1 { font-size: 34px; letter-spacing: -0.5px; }
  .hero-content p { font-size: 16px; }
  .hero-visual { height: 220px; }

  /* Section headers */
  .section-header h2 { font-size: 28px; }
  .section-header p { font-size: 16px; }
  .section-header { margin-bottom: 48px; }

  /* Features */
  .feature-card { padding: 28px; }
  .feature-card h3 { font-size: 17px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item .stat-value { font-size: 34px; }

  /* Pricing */
  .pricing-card { padding: 32px 24px; }

  /* CTA */
  .cta-section { padding: 72px 20px; }
  .cta-wrap h2 { font-size: 28px; }
  .cta-wrap p { font-size: 16px; }
  .btn-white, .btn-outline-white { padding: 14px 28px; width: 100%; justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
