/* ===================================================================
   Bita — landing (bita.invesare.com)
   Marca: rosa / ámbar / verde. Limpio, mobile-first, vivo.
   =================================================================== */
:root {
  --pink:      #ec4899;
  --pink-dark: #be185d;
  --amber:     #f97316;
  --teal:      #14b8a6;
  --ink:       #1c1917;
  --ink-soft:  #57534e;
  --muted:     #a8a29e;
  --bg:        #fdfbfb;
  --bg-alt:    #fbf1f5;
  --card:      #ffffff;
  --line:      #efe7e9;
  --grad:      linear-gradient(120deg, #fb923c 0%, #f43f5e 50%, #be185d 100%);
  --radius:    18px;
  --shadow:    0 6px 18px rgba(190,24,93,.08), 0 22px 50px rgba(28,25,23,.10);
  --shadow-sm: 0 2px 8px rgba(28,25,23,.06);
  --maxw:      1100px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,251,251,.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; }
.brand__logo { border-radius: 8px; }
.brand__name { font-size: 1.15rem; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav__cta {
  background: var(--pink); color: #fff !important;
  padding: 9px 17px; border-radius: 999px; font-weight: 600;
  transition: background .2s, transform .12s, box-shadow .2s;
}
.nav__cta:hover { background: var(--pink-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* BOTONES */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform .14s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(244,63,94,.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(244,63,94,.42); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--pink); color: var(--pink-dark); transform: translateY(-2px); }
.btn--lg { padding: 17px 36px; font-size: 1.1rem; }

/* HERO */
.hero { position: relative; padding: 72px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(45% 55% at 80% 10%, rgba(236,72,153,.16), transparent 60%),
    radial-gradient(40% 50% at 10% 20%, rgba(249,115,22,.12), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--pink-dark);
  background: rgba(236,72,153,.1); border: 1px solid rgba(236,72,153,.2);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(20,184,166,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(20,184,166,.5);} 70%{box-shadow:0 0 0 8px rgba(20,184,166,0);} 100%{box-shadow:0 0 0 0 rgba(20,184,166,0);} }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.5rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.04; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { margin-top: 20px; font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; }
.hero__actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__points { margin-top: 26px; display: flex; gap: 22px; list-style: none; flex-wrap: wrap; color: var(--ink-soft); font-weight: 600; font-size: .92rem; }

/* PHONE MOCKUP */
.hero__phone { position: relative; display: grid; place-items: center; }
.phone__glow { position: absolute; inset: 8% 18%; background: var(--grad); filter: blur(60px); opacity: .28; border-radius: 50%; z-index: 0; }
.phone {
  position: relative; z-index: 1;
  width: 280px; height: 560px;
  background: #1c1917; border-radius: 44px;
  padding: 12px; box-shadow: var(--shadow);
}
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: #1c1917; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen { width: 100%; height: 100%; background: #fff; border-radius: 33px; overflow: hidden; }
.app { padding: 40px 18px 18px; height: 100%; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.app__top { display: flex; justify-content: space-between; align-items: baseline; }
.app__top span:first-child { font-weight: 800; font-size: 1.25rem; }
.app__date { color: var(--muted); font-size: .8rem; font-weight: 500; }

.ring { position: relative; width: 170px; height: 170px; margin: 14px auto 6px; }
.ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring__bg { fill: none; stroke: #f1e7ea; stroke-width: 12; }
.ring__fg { fill: none; stroke: url(#none); stroke: var(--pink); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 327; stroke-dashoffset: 327; animation: ring 1.6s var(--ease) forwards .3s; }
@keyframes ring { to { stroke-dashoffset: 86; } }
.ring__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring__label strong { font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; }
.ring__label small { color: var(--muted); font-size: .72rem; }

.macros { display: flex; flex-direction: column; gap: 9px; margin: 12px 4px; }
.macro { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-size: .72rem; color: var(--ink-soft); font-weight: 600; }
.macro i { display: block; height: 8px; border-radius: 999px; background: #f1e7ea; position: relative; }
.macro i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--c); border-radius: 999px; transform-origin: left; animation: bar 1.2s var(--ease) forwards .5s; transform: scaleX(0); }
@keyframes bar { to { transform: scaleX(1); } }

.meal { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 12px; box-shadow: var(--shadow-sm); }
.meal__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; font-size: .82rem; border-bottom: 1px solid var(--line); }
.meal__row:last-child { border-bottom: 0; }
.meal__row b { font-weight: 800; }
.meal__add { color: var(--pink); font-weight: 700; justify-content: center; }

/* SECCIONES */
.section { padding: 92px 0; }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head--center { margin: 0 auto 48px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 700; color: var(--pink); }
.eyebrow--light { color: #fff; opacity: .9; }
.section h2 { margin-top: 12px; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
.section__lead { margin-top: 12px; color: var(--ink-soft); font-size: 1.05rem; }

/* GRID FUNCIONES */
.grid { display: grid; gap: 18px; }
.grid--features { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ico { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; font-size: 1.5rem; margin-bottom: 16px; }
.ico--pink { background: rgba(236,72,153,.12); }
.ico--amber { background: rgba(249,115,22,.12); }
.ico--teal { background: rgba(20,184,166,.12); }
.card h3 { font-size: 1.1rem; font-weight: 700; }
.card p { margin-top: 8px; color: var(--ink-soft); font-size: .96rem; }

/* IA */
.section--ia { background: var(--ink); color: #fff; border-radius: 36px; margin: 0 16px; }
.section--ia .section h2, .section--ia h2 { color: #fff; }
.section--ia .section__lead { color: rgba(255,255,255,.7); }
.grid--ia { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ia-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px 24px; transition: transform .25s var(--ease), background .25s; }
.ia-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); }
.ia-card__ico { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 14px; background: var(--grad); margin-bottom: 16px; }
.ia-card h3 { font-size: 1.1rem; font-weight: 700; }
.ia-card p { margin-top: 8px; color: rgba(255,255,255,.72); font-size: .95rem; }

/* PRIVACIDAD */
.section--privacy { background: var(--bg-alt); }
.privacy { max-width: 720px; margin: 0 auto; text-align: center; }
.privacy__icon { font-size: 2.6rem; width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 22px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-sm); }
.privacy h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; }
.privacy p { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }
.privacy__tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.privacy__tags span { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 600; font-size: .85rem; padding: 8px 16px; border-radius: 999px; }

/* CTA */
.cta { padding: 96px 0; text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta img { margin-bottom: 18px; }
.cta h2 { font-size: clamp(1.8rem, 4.2vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; }
.cta p { margin: 14px auto 28px; max-width: 460px; color: var(--ink-soft); font-size: 1.08rem; }

/* FOOTER */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.site-footer__brand img { border-radius: 6px; }
.site-footer__by { color: var(--ink-soft); font-size: .92rem; }
.site-footer__by a { color: var(--pink-dark); font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__phone { order: -1; }
  .phone { width: 240px; height: 480px; }
}
@media (max-width: 600px) {
  .nav { gap: 14px; }
  .nav a:not(.nav__cta) { display: none; }
  .section { padding: 64px 0; }
  .section--ia { margin: 0 8px; border-radius: 28px; }
}
