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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; }

/* ── Shadows ── */
.shadow-apple    { box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04); }
.shadow-apple-md { box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05); }
.shadow-apple-lg { box-shadow: 0 8px 30px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06); }

/* ── Brand ── */
.bg-brand-gradient { background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%); }
.text-brand-500 { color: #3b82f6; }
.text-brand-600 { color: #2563eb; }
.bg-brand-500   { background-color: #3b82f6; }
.bg-brand-600   { background-color: #2563eb; }
.border-brand-500 { border-color: #3b82f6; }

/* ── Text clamp ── */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 99px; }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 100; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: white; border-radius: 24px; width: 100%; max-height: 90vh;
  overflow-y: auto; transform: translateY(16px); transition: transform 0.2s;
}
.modal-overlay.open .modal-box { transform: translateY(0); }

/* ── FAQ (used in dashboard too) ── */
.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.16,1,0.3,1);
}
.faq-inner {
  opacity: 0;
  transform: translateY(-8px);
  /* transição usada ao FECHAR — sem delay, rápida */
  transition: opacity 0.2s ease, transform 0.22s ease;
}
.faq-answer.open .faq-inner {
  opacity: 1;
  transform: translateY(0);
  /* transição usada ao ABRIR — delay para o conteúdo entrar depois do container */
  transition: opacity 0.36s ease 0.12s, transform 0.42s cubic-bezier(0.16,1,0.3,1) 0.09s;
}

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; padding: 2px 10px;
  border-radius: 99px; font-size: 12px; font-weight: 600;
}

/* ── Inputs ── */
input, select, textarea { font-family: 'Inter', sans-serif; }

/* ── Toast ── */
.toast {
  position: fixed; top: 1.25rem; left: 50%; transform: translateX(-50%);
  background: white; color: #111827; padding: 12px 20px; border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12); font-size: 14px; font-weight: 500;
  z-index: 9999; white-space: nowrap; transition: all 0.3s;
  opacity: 0; pointer-events: none;
}
.toast.show { opacity: 1; pointer-events: all; }
.toast.error   { background: #fee2e2; color: #b91c1c; }
.toast.success { background: #dcfce7; color: #15803d; }

/* ── Cart badge (menu page) ── */
.cart-badge {
  position: absolute; top: -6px; right: -6px; background: #ef4444;
  color: white; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 99px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* ── Category nav (menu page) ── */
.category-nav { position: sticky; top: 0; z-index: 20; background: white; }

/* ── Banner carousel (menu page) ── */
.banner-track { display: flex; transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94); will-change: transform; }
.banner-slide { min-width: 100%; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; cursor: pointer; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-slide .banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.38) 35%, transparent 58%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 18px 16px;
}
.banner-dot { width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,0.45); transition: all 0.3s; cursor: pointer; }
.banner-dot.active { width: 20px; background: white; }


/* ══════════════════════════════════════════════════════════════
   LANDING PAGE — REDESIGN PREMIUM
══════════════════════════════════════════════════════════════ */

/* ── Spinner ── */
@keyframes spin { to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

/* ── Hero entrance ── */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.h1 { animation: hero-rise 1s cubic-bezier(0.16,1,0.3,1) 0.05s both; }
.h2 { animation: hero-rise 1s cubic-bezier(0.16,1,0.3,1) 0.20s both; }
.h3 { animation: hero-rise 1s cubic-bezier(0.16,1,0.3,1) 0.38s both; }
.h4 { animation: hero-rise 1s cubic-bezier(0.16,1,0.3,1) 0.55s both; }
.h5 { animation: hero-rise 1s cubic-bezier(0.16,1,0.3,1) 0.72s both; }
.h6 { animation: hero-rise 1s cubic-bezier(0.16,1,0.3,1) 0.88s both; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale { opacity: 0; transform: scale(0.93);       transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: none; }

.d-1 { transition-delay: 0.10s; }
.d-2 { transition-delay: 0.22s; }
.d-3 { transition-delay: 0.34s; }
.d-4 { transition-delay: 0.46s; }
.d-5 { transition-delay: 0.58s; }

/* ── Hero background ── */
.hero-bg {
  background:
    radial-gradient(ellipse 75% 55% at 112% 50%, rgba(0,87,255,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 55% 75% at -8% 70%, rgba(124,58,237,0.06) 0%, transparent 65%),
    #ffffff;
}

/* ── Gradient animated text ── */
@keyframes grad-move { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.gradient-text {
  background: linear-gradient(90deg, #0057FF 0%, #7C3AED 35%, #00C2FF 65%, #0057FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: grad-move 5s linear infinite;
}

/* ── Typewriter cursor ── */
@keyframes tw-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
.tw-cursor {
  display: inline-block; width: 4px; height: 0.7em;
  background: #0057FF; border-radius: 2px; margin-left: 3px;
  vertical-align: middle; position: relative; top: -0.06em;
  animation: tw-blink 0.9s ease-in-out infinite;
}

/* ── Phone frame ── */
.phone-frame {
  width: 268px;
  background: #101828;
  border-radius: 46px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 80px 160px rgba(0,0,0,0.55),
    0 30px 60px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.08);
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 82px; height: 26px; background: #101828;
  border-radius: 0 0 18px 18px; z-index: 10;
}
.phone-screen {
  height: 548px; border-radius: 36px;
  overflow: hidden; background: #f5f5f7;
  display: flex; flex-direction: column;
  position: relative;
}

/* ── Phone float animation ── */
@keyframes phone-float {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-18px) rotate(-2deg); }
}
.phone-float { animation: phone-float 7s ease-in-out infinite; transform-origin: center; }

/* ── Floating notification pills ── */
@keyframes pill-a { 0%,100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes pill-b { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(-1deg); } }
.float-pill {
  position: absolute; background: white; border-radius: 18px;
  padding: 10px 14px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 3px 10px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04); white-space: nowrap; z-index: 5;
}
.pill-right { right: -28px; top: 80px;  animation: pill-a 4.5s ease-in-out 0.8s infinite; }
.pill-left  { left:  -28px; bottom: 100px; animation: pill-b 4.5s ease-in-out 2.2s infinite; }

/* ── CTA button shine ── */
@keyframes btn-shine { 0% { left: -100%; } 100% { left: 200%; } }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 3.5s ease-in-out 1.2s infinite;
}

/* ── Dark section (metrics) ── */
.section-dark {
  background-color: #0B1628;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  color: white;
}

/* ── Feature sections ── */
.feature-img-wrap {
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12), 0 10px 30px rgba(0,0,0,0.07);
}
.feature-img-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── Step pulse ring ── */
@keyframes step-pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2.2); opacity: 0; }
}
.step-ring {
  position: absolute; inset: 0; border-radius: 28px;
  background: linear-gradient(135deg, #0057FF, #3b82f6);
  animation: step-pulse 3s ease-out infinite; z-index: 0;
}

/* ── Step connector ── */
@keyframes conn-shimmer { 0% { transform: translateX(-120%); } 100% { transform: translateX(300%); } }
.conn-line {
  position: absolute; top: 32px; height: 2px;
  background: linear-gradient(90deg, #dbeafe, #c7d2fe);
  border-radius: 99px; overflow: hidden;
}
.conn-shimmer {
  position: absolute; inset: 0; width: 30%;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  animation: conn-shimmer 2.8s ease-in-out infinite;
}

/* ── Pricing cards ── */
.price-card {
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease;
}
.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.13), 0 12px 28px rgba(0,0,0,0.07);
}
@keyframes featured-glow {
  0%,100% { box-shadow: 0 8px 30px rgba(0,86,255,0.15); }
  50%      { box-shadow: 0 8px 40px rgba(0,86,255,0.35); }
}
.price-featured { animation: featured-glow 3s ease-in-out infinite; }

/* ── Feature icon hover ── */
.feat-icon { transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); }
.feat-card:hover .feat-icon { transform: scale(1.18) rotate(-8deg); }
.feat-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.09), 0 8px 20px rgba(0,0,0,0.05);
}

/* ── 3D card tilt ── */
.tilt { transform-style: preserve-3d; }

/* ── Nav underline ── */
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: #0057FF; border-radius: 99px;
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-link:hover::after { width: 100%; }

/* ── FAQ landing ── */
.faq-row { transition: transform 0.25s cubic-bezier(0.16,1,0.3,1); }
.faq-row:hover { transform: translateX(4px); }

/* ── Mobile nav overlay ── */
@keyframes menu-slide {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
#mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(24px);
  flex-direction: column; padding: 90px 32px 48px;
}
#mobile-nav.open { display: flex; animation: menu-slide 0.35s cubic-bezier(0.16,1,0.3,1); }
.mnav-link {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em;
  color: #0f172a; padding: 16px 0; border-bottom: 1px solid #f3f3f3;
  text-decoration: none; display: block; transition: color 0.2s;
}
.mnav-link:hover { color: #0057FF; }
.mnav-link:last-child { border-bottom: none; }

/* ── Trial banner ── */
@keyframes dot-pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.5; }
}
.trial-dot { animation: dot-pulse 1.8s ease-in-out infinite; }

@keyframes trial-gradient {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.trial-gradient-text {
  background: linear-gradient(90deg, #60A5FA, #A78BFA, #34D399, #60A5FA);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: trial-gradient 4s linear infinite;
}

.trial-btn {
  box-shadow: 0 0 0 0 rgba(255,255,255,0.3);
  animation: trial-btn-pulse 2.5s ease-in-out infinite;
}
@keyframes trial-btn-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.2); }
  50%      { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
}

.trial-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.35s ease;
}
.trial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.22);
}

@keyframes trial-bar-anim {
  0%   { width: 100%; }
  100% { width: 2%; }
}

/* ── Responsive ── */
@media (max-width: 1023px) {
  .hero-right { width: 260px !important; }
  .float-pill { display: none; }
}
@media (max-width: 767px) {
  .hero-right { width: 220px !important; }
  .metrics-grid { grid-template-columns: 1fr 1fr !important; }
  .feat-grid    { grid-template-columns: 1fr !important; }
}
