* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

body {
  color: var(--txt);
  background:
    radial-gradient(1200px 600px at 10% -20%, color-mix(in srgb, var(--brand) 6%, transparent) 0%, transparent 50%),
    radial-gradient(1000px 500px at 90% -10%, color-mix(in srgb, var(--brand-2) 4%, transparent) 0%, transparent 50%),
    var(--bg-grad, linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%));
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.1px;
  overflow-x: hidden;
}

/* Layout Mobile */
.container { width: 100%; padding: 0 16px; margin: 0 auto; }
.section { padding: 32px 0; position: relative; }

/* Nav Mobile */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--brand) 8%, transparent);
}
.nav .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--txt);
}
.brand img {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--brand) 15%, transparent));
}
.brand span {
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 16px;
}

/* Hero Mobile */
.hero {
  padding: 24px 0 16px;
  background:
    radial-gradient(1200px 600px at 10% -20%, color-mix(in srgb, var(--brand) 8%, transparent) 0%, transparent 50%),
    radial-gradient(1000px 500px at 90% -10%, color-mix(in srgb, var(--brand-2) 5%, transparent) 0%, transparent 50%),
    var(--bg-grad, linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%));
  text-align: center;
}
.eyebrow {
  color: var(--brand);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
h1 {
  font-size: 32px;
  line-height: 1.1;
  margin: 0 0 20px;
  font-weight: 700;
  padding: 0 8px;
}
.lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 24px;
  line-height: 1.4;
  padding: 0 8px;
}

/* Phone Frame Mobile */
.phone-demo { margin: 24px auto 0; max-width: 280px; }
.phone-frame {
  width: 100%;
  height: 425px;
  border-radius: 24px;
  padding: 10px 10px 12px;
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(31, 44, 52, 0.85) 0%,
    rgba(31, 44, 52, 0.65) 15%,
    rgba(18, 27, 34, 0.65) 15%,
    rgba(18, 27, 34, 0.85) 100%
  );
  box-shadow: 0 20px 50px rgba(16,24,40,.25), inset 0 1px 0 rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 14px;
  border-radius: 0 0 10px 10px;
  background: rgba(0,0,0,.35);
}

/* Chat Header Mobile */
.chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  background: color-mix(in srgb, #fff 6%, transparent);
  border: 1px solid color-mix(in srgb, #fff 8%, transparent);
  padding: 8px 10px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 3;
  color: var(--on-dark, #e9edf3);
  margin-top: 13px;
  opacity: 0.85;
}
.chat-header .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px color-mix(in srgb, #fff 15%, transparent);
}
.h-meta strong { font-size: 12px; display: block; line-height: 1.1; }
.h-meta span { font-size: 10px; opacity: .85; }
.online i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--ok);
  border-radius: 50%;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent);
  margin-right: 4px;
}
.h-actions { margin-left: auto; display: flex; gap: 4px; }
.h-dot { width: 3px; height: 3px; background: color-mix(in srgb, #fff 60%, transparent); border-radius: 999px; }

/* Chat Content Mobile */
.chat-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 20% -10%, color-mix(in srgb, var(--brand) 40%, transparent) 0%, transparent 60%),
    radial-gradient(500px 250px at 120% 0%, color-mix(in srgb, var(--brand-2) 35%, transparent) 0%, transparent 55%);
  opacity: .25;
}
.chat-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), transparent 15%, transparent 85%, rgba(0,0,0,.2));
}

.chat-scroll {
  position: absolute;
  left: 12px; right: 12px; top: 72px; bottom: 50px;
  overflow-y: auto;
  padding: 6px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.chat-scroll::-webkit-scrollbar { display: none; }

.msg {
  display: flex; gap: 6px; margin: 6px 0;
  opacity: 0; transform: translateY(8px);
  animation: msgIn .4s ease forwards;
}
.msg.user { justify-content: flex-end; }
.msg.bot { justify-content: flex-start; }

.bubble {
  max-width: 80%; padding: 8px 10px;
  border-radius: 12px; font-size: 12px; line-height: 1.3;
  color: #0e1520; position: relative;
  box-shadow: 0 4px 14px rgba(2,8,23,.15);
}
.bubble.user {
  background: linear-gradient(135deg, color-mix(in srgb, var(--ok) 6%, #dcf8c6), color-mix(in srgb, var(--ok) 12%, #c9f3b9));
  border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent);
}
.bubble.bot {
  background: color-mix(in srgb, #fff 90%, transparent);
  border: 1px solid color-mix(in srgb, #fff 60%, transparent);
  backdrop-filter: blur(2px);
}

.chat-input {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  background: color-mix(in srgb, #fff 6%, transparent);
  border: 1px solid color-mix(in srgb, #fff 12%, transparent);
  border-radius: 12px; height: 36px;
  display: flex; align-items: center;
  padding: 0 8px; gap: 6px; color: #cdd6e3;
}
.chat-input .placeholder { font-size: 11px; opacity: .8; }
.send-btn {
  margin-left: auto; width: 24px; height: 24px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 700; font-size: 12px;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 35%, transparent);
}

/* Typography Mobile */
h2 {
  font-size: 28px; line-height: 1.15; margin: 0 0 12px;
  color: var(--txt); text-align: left;
}
.sub {
  color: var(--muted); text-align: left; position: relative;
  padding-top: 16px; margin: 0 0 24px; font-size: 14px; line-height: 1.4;
}
.sub::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 48px; height: 3px; border-radius: 999px;
  background: var(--brand-grad, linear-gradient(135deg, var(--brand), var(--brand-2)));
}

/* Cards Mobile */
.cards { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.card {
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 20px 16px;
  background: var(--card);
  box-shadow: var(--shadow, 0 4px 20px color-mix(in srgb, var(--brand) 18%, transparent));
  transition: all 0.4s ease;
  position: relative; overflow: hidden;
}
.card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  transform: scaleX(0); transition: transform .4s ease; transform-origin: left;
}
.card.reveal.in::before { transform: scaleX(1); }
.card .kicker {
  font-size: 11px; color: var(--brand); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.2; }
.card p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.4; }

/* Service Cards Mobile */
.service-icon{
  width:44px; height:44px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius:12px; display:flex; align-items:center; justify-content:center;
  margin-bottom:12px; font-size:1.2rem;
}
.service-features{ list-style:none; padding:0; margin:12px 0; }
.service-features li{
  padding:3px 0; color:var(--muted); display:flex; align-items:center; gap:8px; font-size:13px;
}
.service-features li::before{ content:"✓"; color:var(--ok); font-weight:bold; font-size:12px; }

/* Band Mobile */
.band{
  background: linear-gradient(180deg, var(--card), color-mix(in srgb, var(--brand) 4%, var(--bg-2)));
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

/* Flow Demo Mobile */
.flow-v2.styled {
  position: relative; padding: 20px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 10%, var(--card)) 0%, var(--card) 100%);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden; isolation: isolate;
  max-width: 400px; width: 100%; margin: 0 auto;
}
.flow-stepv2 {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px 14px;
  padding: 10px 12px;
  border-radius: 14px;
  margin: 8px 0 6px;
  opacity: 0;
  transform: translateX(-10px);
  animation: stepIn .55s cubic-bezier(.2,.7,.2,1) forwards;
  background: var(--card);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.flow-stepv2:nth-child(1) { animation-delay: 0.3s; }
.flow-stepv2:nth-child(2) { animation-delay: 1.3s; }
.flow-stepv2:nth-child(3) { animation-delay: 2.3s; }
.flow-stepv2:nth-child(4) { animation-delay: 3.3s; }
.flow-stepv2:hover {
  background: color-mix(in srgb, var(--brand-light) 35%, var(--card) 65%);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 14%, transparent);
}

.node {
  grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; color: #fff; font-size: 20px; position: relative; z-index: 2;
  box-shadow: 0 10px 24px rgba(2,8,23,.15);
}
.node::after { content: ""; position: absolute; inset: -8px; border-radius: 16px; filter: blur(10px); opacity: .55; z-index: -1; }
.node.input { background: linear-gradient(135deg,#3b82f6,#1d4ed8); }
.node.input::after { background: radial-gradient(closest-side, rgba(59,130,246,.45), transparent); }
.node.process { background: var(--brand-grad); }
.node.process::after { background: radial-gradient(closest-side, var(--halo-strong), transparent); }
.node.build { background: linear-gradient(135deg,#f59e0b,#d97706); }
.node.build::after { background: radial-gradient(closest-side, rgba(245,158,11,.40), transparent); }
.node.ok { background: linear-gradient(135deg,var(--ok),#059669); }
.node.ok::after { background: radial-gradient(closest-side, rgba(16,185,129,.40), transparent); }

.flow-stepv2 header h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--txt); }
.flow-stepv2 header p { margin: 0; font-size: 13px; color: var(--muted); }

.chips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { 
  font-size: 11px; 
  color: var(--brand-navy); 
  background: var(--brand-light); 
  border: 1px solid color-mix(in srgb, var(--brand-2) 22%, var(--stroke) 78%); 
  padding: 4px 8px; border-radius: 999px; 
}

.flow-meter { position: absolute; left: 22px; right: 22px; bottom: 16px; height: 8px; background: var(--bg-2); border: 1px solid var(--stroke); border-radius: 999px; overflow: hidden; }
/*.flow-meter span { display: block; height: 100%; width: 0%; background: var(--brand-grad); animation: meter 5s linear infinite; box-shadow: inset 0 0 10px rgba(255,255,255,.35); } */
.flow-meter span { display: block; height: 100%; width: 0%; background: var(--brand-grad);  box-shadow: inset 0 0 10px rgba(255,255,255,.35); }


@keyframes stepIn { to { opacity:1; transform:none; } }

/* How it works Mobile */
.how-step{ display:flex; gap:16px; margin:20px 0; align-items:flex-start; }
.step-number{
  width:36px; height:36px; border-radius:50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:16px; flex-shrink:0;
}
.step-content h4{ margin:0 0 4px; font-size:16px; }
.step-content p{ margin:0; color:var(--muted); font-size:14px; }

/* Contact Form Mobile */
.contact-form{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow, 0 4px 20px color-mix(in srgb, var(--brand) 18%, transparent));
  margin-top: 24px;
}
.contact-form label{
  display:block; margin-bottom:12px; font-weight:600; color: var(--brand-navy);
}
.contact-form input,
.contact-form textarea{
  width:100%; margin:6px 0; padding:12px; border-radius:10px;
  border:1px solid var(--stroke); background: var(--bg); color: var(--txt);
  font-family:'Roboto', sans-serif; font-size:16px; transition: all .3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus{
  outline:none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
  background: var(--card);
}

/* Button Mobile */
.btn{
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--brand-navy);
  padding: 12px 18px; border-radius: 12px; text-decoration: none;
  font-weight: 700; font-size: 16px; transition: all .3s ease;
  box-shadow: var(--shadow, 0 4px 20px color-mix(in srgb, var(--brand) 18%, transparent));
  display: inline-block; cursor: pointer; font-family: Inter, system-ui, sans-serif;
  border: none; width: 100%; text-align: center;
}
.btn:hover{
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover, 0 8px 30px color-mix(in srgb, var(--brand) 28%, transparent));
  color: var(--brand-navy);
}

/* Footer Mobile */
footer{
  padding: 32px 0; color: var(--muted); font-size: 14px;
  border-top: 1px solid var(--stroke); background: var(--bg-2); text-align: center;
}
.footer-brand{ display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom:16px; }
.footer-brand img{ height:24px; }
.footer-links{ display:flex; flex-direction:column; gap:8px; margin:16px 0; }
.footer-links a{ color: var(--muted); text-decoration:none; transition: color .3s ease; }
.footer-links a:hover{ color: var(--brand); }

/* WhatsApp Float Mobile */
.whatsapp-float{
  position: fixed; bottom: 20px; right: 20px;
  background-color: var(--wa, #25d366);
  color: #fff; border-radius: 50px; width: 56px; height: 56px;
  display:flex; align-items:center; justify-content:center;
  font-size: 20px; text-decoration:none;
  box-shadow: 2px 2px 10px rgba(0,0,0,.3);
  z-index: 1000; transition: all .3s ease;
}
.whatsapp-float:hover{
  background-color: var(--wa-hover, #20ba5a);
  transform: scale(1.1);
}

/* Reveal Animation */
.reveal{ opacity:0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform: translateY(0); }

/* Animations */
@keyframes msgIn { to { opacity:1; transform: translateY(0); } }

/* Responsive adjustments */
@media (max-width: 380px){
  .container{ padding: 0 12px; }
  .hero{ padding: 20px 0 12px; }
  h1{ font-size: 28px; }
  h2{ font-size: 24px; }
  .card{ padding: 16px 12px; }
  .phone-frame{ height: 365px; }
}




/* ===== Pricing v2 ===== */
#pricing .pricing-head {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  margin-bottom: 18px;
}

/* Toggle */
.billing-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px;
  gap: 6px;
  margin-top: 8px;
  box-shadow: 0 4px 18px rgba(16,21,133,0.04);
}
.bt-option {
  position: relative;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color .2s ease;
}
.bt-option.active { color: var(--txt); }
.bt-option .save {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0a7;
  background: #e8fff5;
  border: 1px solid #bdf0de;
  border-radius: 999px;
}
.bt-pill {
  position: absolute;
  inset: 6px auto 6px 6px;
  width: calc(50% - 6px);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(139,95,191,.28);
  transition: transform .25s ease;
}

/* Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 16px;
}

/* Card base */
.pricing-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 26px 22px 22px;
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 10px 30px rgba(16,21,133,0.06);
  isolation: isolate;
}
.pricing-card .glow {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(120deg, rgba(16,21,133,.25), rgba(139,95,191,.35), rgba(16,21,133,.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .25s ease;
  pointer-events: none; z-index: 1;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(16,21,133,0.12);
  border-color: color-mix(in srgb, var(--brand) 25%, var(--stroke) 75%);
}
.pricing-card:hover .glow { opacity: 1; }

.pricing-card .pricing-header h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--txt);
}
.pricing-card .pricing-tagline {
  margin: 6px 0 2px;
  color: var(--muted);
  font-size: 14px;
}

.pricing-price {
  display: flex; align-items: baseline; gap: 6px;
}
.pricing-price .price-amount {
  font-size: 42px; font-weight: 800; line-height: 1;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pricing-price .price-period {
  color: var(--muted); font-weight: 600;
}

/* Features */
.pricing-features {
  list-style: none; padding: 0; margin: 16px 0 18px;
  display: grid; gap: 8px;
}
.pricing-features li {
  padding-left: 26px;
  position: relative;
  font-size: 14px; line-height: 1.35;
}
.pricing-features li::before {
  content: "✔"; position: absolute; left: 0; top: 0;
  font-weight: 900; color: #10b981;
}
.pricing-features li.muted { color: var(--muted); opacity: .7; }
.pricing-features li.muted::before { content: "—"; color: var(--muted); font-weight: 700; }

/* CTA */
.pricing-cta .btn-pricing {
  display: block; text-align: center; width: 100%;
  padding: 12px 18px; border-radius: 12px; font-weight: 700;
  border: 1px solid var(--stroke);
  background: var(--card);
  color: var(--txt);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pricing-cta .btn-pricing:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(16,21,133,0.12);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--stroke) 70%);
}
.pricing-cta .btn-pricing.featured {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; border-color: var(--brand);
  box-shadow: 0 12px 32px rgba(139,95,191,.35);
}

/* Featured card */
.pricing-card.featured {
  border: 2px solid var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(139,95,191,.18);
}
.pricing-card.featured:hover { transform: translateY(-8px); }
.popular-badge {
  position: absolute; top: 12px; right: 12px;
  z-index: 3;
  font-size: 11px; font-weight: 900; letter-spacing: .6px;
  color: #fff;
  padding: 6px 10px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: inline-flex; gap: 8px; align-items: center;
  box-shadow: 0 10px 26px rgba(139,95,191,.35);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* Footer */
.pricing-footer-info {
  text-align: center;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--stroke);
}
.pricing-highlight { margin-bottom: 6px; }

/* Reveal anim suave */
@media (prefers-reduced-motion: no-preference) {
  .pricing-card { opacity: 0; transform: translateY(10px); }
  .reveal.in .pricing-card, .pricing-card.revealed {
    opacity: 1; transform: translateY(0);
    transition: opacity .45s ease, transform .45s ease;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 18px; }
  .pricing-card.featured { transform: none; }
}
