/* ============================================================
   SmileBot AI — Stylesheet
   Paleta: Azul confianza (#2563EB) + Coral persuasivo (#FB7185)
   ============================================================ */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --accent: #FB7185;
  --accent-dark: #E11D48;
  --accent-light: #FDA4AF;
  --grad: linear-gradient(135deg, #2563EB 0%, #FB7185 100%);
  --grad-soft: linear-gradient(135deg, #EFF6FF 0%, #FFF1F2 100%);

  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(37,99,235,0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 48px rgba(37,99,235,0.18), 0 8px 24px rgba(0,0,0,0.1);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }
.section { padding: 96px 0; }
.section-alt { background: var(--gray-50); }

/* === GRAD TEXT === */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 8px 20px rgba(37,99,235,0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37,99,235,0.4);
  color: white;
}
.btn-ghost {
  background: white;
  color: var(--primary);
  border-color: var(--gray-200);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: var(--gray-50);
}
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: white; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--gray-900);
}
.logo-icon { font-size: 26px; }
.logo-text { letter-spacing: -0.02em; }
.logo-ai {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 2px;
}
.logo-light { color: white; }
.logo-light .logo-text { color: white; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-burger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* === HERO === */
.hero {
  padding: 60px 0 100px;
  background:
    radial-gradient(ellipse 800px 600px at 80% 20%, rgba(251,113,133,0.12), transparent 60%),
    radial-gradient(ellipse 800px 600px at 20% 50%, rgba(37,99,235,0.10), transparent 60%),
    linear-gradient(180deg, #ffffff, #fafbff);
  overflow: hidden;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.hero-title {
  margin: 20px 0 16px;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}
.hero-sub {
  font-size: 19px;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}
.trust-item { text-align: left; }
.trust-item strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.trust-item span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--gray-500);
}

/* === HERO VISUAL (phone mockup) === */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
}
.phone-frame {
  width: 320px;
  height: 580px;
  background: #1f2937;
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #1f2937;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.chat-preview {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-preview-header {
  background: var(--grad);
  color: white;
  padding: 24px 16px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}
.chat-preview-body {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(to bottom, #f9fafb, white);
  overflow-y: auto;
}
.chat-preview-body::-webkit-scrollbar { display: none; }
.preview-msg {
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.4;
  animation: msg-pop 0.4s ease-out;
}
@keyframes msg-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.preview-msg-bot {
  background: white;
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.preview-msg-user {
  background: var(--grad);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-preview-input {
  padding: 12px;
  border-top: 1px solid var(--gray-200);
  background: white;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.card-1 { top: 40px; left: -10px; animation-delay: 0s; }
.card-2 { bottom: 60px; right: -10px; animation-delay: 1.5s; }

/* === SOCIAL PROOF === */
.social-proof {
  padding: 40px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.proof-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.logos-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.logo-fake {
  font-weight: 700;
  font-size: 18px;
  color: var(--gray-400);
  letter-spacing: -0.02em;
  filter: grayscale(1);
  opacity: 0.7;
}

/* === SECTION HEADS === */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 14px;
}
.section-head p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 17px;
}

/* === PROBLEM/SOLUTION === */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.problem-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.problem-bad {
  background: linear-gradient(135deg, #FEF2F2, #fff);
  border-color: #FECACA;
}
.problem-good {
  background: linear-gradient(135deg, #ECFDF5, #fff);
  border-color: #A7F3D0;
}
.problem-icon { font-size: 40px; margin-bottom: 16px; }
.problem-card h3 { font-size: 22px; margin-bottom: 16px; color: var(--gray-900); }
.problem-list { list-style: none; }
.problem-list li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--gray-700);
}

/* === FEATURES === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon { font-size: 26px; }
.feature-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--gray-900); }
.feature-card p { font-size: 14px; color: var(--gray-600); line-height: 1.55; }

/* === STEPS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  padding: 36px 28px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  position: relative;
  text-align: left;
}
.step-num {
  font-size: 60px;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}
.step-card h3 { font-size: 22px; margin-bottom: 10px; color: var(--gray-900); }
.step-card p { color: var(--gray-600); font-size: 15px; }

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 32px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}
.stars { color: #F59E0B; font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--grad);
  color: white;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.testimonial-author strong { display: block; color: var(--gray-900); font-size: 14px; }
.testimonial-author span { display: block; font-size: 12px; color: var(--gray-500); }

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  padding: 36px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
  background: linear-gradient(180deg, white, #FAFBFF);
}
.price-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-md);
}
.price-name { font-size: 14px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; }
.price-num {
  margin: 16px 0 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.currency { font-size: 24px; font-weight: 600; color: var(--gray-700); }
.amount {
  font-size: 56px;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.04em;
  line-height: 1;
}
.period { font-size: 14px; color: var(--gray-500); margin-left: 4px; }
.price-tag { color: var(--gray-600); font-size: 14px; margin-bottom: 24px; min-height: 40px; }
.price-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}
.price-list li { padding: 8px 0; font-size: 14px; color: var(--gray-700); }
.pricing-note {
  text-align: center;
  margin-top: 32px;
  color: var(--gray-500);
  font-size: 14px;
}

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all 0.2s;
}
.faq-item:hover { border-color: var(--primary); }
.faq-item summary {
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 26px;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 12px;
  color: var(--gray-600);
  font-size: 15px;
}

/* === CTA FINAL === */
.cta-final {
  padding: 80px 0;
  background: var(--grad);
}
.cta-box {
  text-align: center;
  color: white;
}
.cta-box h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-box p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === FOOTER === */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: white;
  font-size: 14px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer a {
  color: var(--gray-400);
  display: block;
  padding: 4px 0;
  font-size: 14px;
}
.footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 32px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: auto; }
  .phone-frame { width: 280px; height: 520px; }
  .floating-card { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
