@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #07110f;
  --bg-soft: #0b1714;
  --surface: rgba(17, 33, 29, .72);
  --surface-strong: #11211d;
  --text: #f3f7f5;
  --muted: #9aacA6;
  --brand: #29ddb6;
  --brand-soft: #79f1d5;
  --coral: #ff806f;
  --gold: #eeba67;
  --line: rgba(216, 255, 244, .12);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(25, 155, 127, .12), transparent 27rem),
    var(--bg);
  font: 400 17px/1.65 "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, .brand { font-family: "Manrope", sans-serif; }

.ambient { position: fixed; width: 42rem; height: 42rem; border-radius: 50%; filter: blur(100px); opacity: .11; pointer-events: none; }
.ambient-one { top: -20rem; right: -16rem; background: var(--brand); animation: breathe 8s ease-in-out infinite; }
.ambient-two { top: 55rem; left: -24rem; background: #0d7fba; animation: breathe 10s 2s ease-in-out infinite; }

.site-header, main > section, footer { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 750; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: #06100e; background: linear-gradient(135deg, var(--brand-soft), var(--brand)); border-radius: 12px; font-size: 13px; letter-spacing: -.05em; box-shadow: 0 0 28px rgba(41, 221, 182, .22); }
nav { display: flex; gap: 32px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; transition: color .25s ease; }
nav a:hover { color: var(--text); }

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: 24px;
  padding: 42px 0 86px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--brand-soft); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 22px; height: 1px; margin: 0 9px 4px 0; background: currentColor; }
h1 { margin: 0; font-size: clamp(3.2rem, 6vw, 6.4rem); line-height: .96; letter-spacing: -.075em; }
h1 em, h2 em { color: var(--brand); font-style: normal; }
.hero-lead { max-width: 590px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 50px; padding: 0 20px; border: 1px solid transparent; border-radius: 14px; font-size: 14px; font-weight: 650; text-decoration: none; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #04100d; background: linear-gradient(135deg, var(--brand-soft), var(--brand)); box-shadow: 0 15px 45px rgba(41, 221, 182, .18); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: rgba(121,241,213,.4); background: rgba(121,241,213,.06); }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 35px; color: var(--muted); font-size: 13px; }
.trust-row span { display: flex; gap: 4px; align-items: center; }
.trust-row span::before { content: ""; width: 5px; height: 5px; margin-right: 4px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 10px var(--brand); }
.trust-row b { color: var(--text); }

.hero-visual { position: relative; margin: 0 -12vw 0 -10%; isolation: isolate; transform: perspective(1200px) rotateY(-2deg); animation: hover-device 7s ease-in-out infinite; }
.hero-visual img { display: block; width: 100%; height: auto; border-radius: 30px; mask-image: linear-gradient(to bottom, #000 88%, transparent 100%); filter: saturate(.94) contrast(1.04); }
.hero-visual::after { content: ""; position: absolute; inset: 7% 7% 2%; z-index: -1; border-radius: 50%; box-shadow: 0 0 100px 25px rgba(28, 207, 166, .18); }
.hero-visual figcaption { position: absolute; right: 17%; bottom: 6%; padding: 9px 14px; color: rgba(255,255,255,.78); background: rgba(5,15,13,.56); border: 1px solid var(--line); border-radius: 99px; backdrop-filter: blur(16px); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.ticker { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.ticker-track { display: flex; width: max-content; align-items: center; gap: 28px; color: rgba(229, 244, 239, .24); font: 700 clamp(1.2rem,3vw,2.2rem)/1 "Manrope", sans-serif; letter-spacing: .12em; animation: marquee 22s linear infinite; }
.ticker-track i { color: var(--brand); font-style: normal; font-size: 13px; }

.section { padding-block: 140px 20px; }
.intro-section { display: grid; grid-template-columns: 1.35fr .65fr; gap: 90px; align-items: end; }
.section-heading h2, .privacy-banner h2, .final-cta h2 { max-width: 850px; margin: 0; font-size: clamp(2.2rem, 5vw, 4.7rem); line-height: 1.05; letter-spacing: -.06em; }
.section-intro { margin: 0 0 5px; color: var(--muted); font-size: 18px; }

.conversation-demo { position: relative; display: grid; grid-template-columns: 1fr .78fr; gap: 100px; align-items: center; padding-block: 110px 150px; }
.chat-card { position: relative; z-index: 2; max-width: 560px; padding: 20px; background: linear-gradient(155deg, rgba(25,48,42,.96), rgba(8,20,17,.94)); border: 1px solid rgba(121,241,213,.16); border-radius: 34px; box-shadow: 0 50px 120px rgba(0,0,0,.38); }
.chat-topbar { display: flex; align-items: center; gap: 12px; padding: 5px 6px 22px; border-bottom: 1px solid var(--line); }
.coach-avatar { display: grid; place-items: center; width: 42px; height: 42px; color: #04100d; background: linear-gradient(135deg,var(--brand-soft),var(--brand)); border-radius: 14px; font-weight: 800; }
.chat-topbar div:nth-child(2) { display: flex; flex: 1; flex-direction: column; }
.chat-topbar small, .workout-mini small { color: var(--muted); }
.live-dot { width: 8px; height: 8px; margin-right: 8px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 14px var(--brand); }
.messages { display: flex; flex-direction: column; gap: 18px; padding: 30px 4px; }
.message { max-width: 82%; margin: 0; padding: 15px 17px; border-radius: 18px; font-size: 14px; }
.message.user { align-self: flex-end; background: #e8f7f2; color: #10201c; border-bottom-right-radius: 5px; }
.message.agent { position: relative; padding-left: 42px; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.message.agent > p { margin: 0; }
.spark { position: absolute; top: 15px; left: 16px; color: var(--brand); }
.workout-mini { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 14px; padding: 12px; background: rgba(41,221,182,.08); border-radius: 12px; }
.workout-mini div { display: flex; flex-direction: column; }
.workout-mini > span { padding: 5px 8px; color: var(--brand-soft); background: rgba(41,221,182,.12); border-radius: 8px; font-size: 11px; }
.composer { display: flex; justify-content: space-between; padding: 13px 13px 13px 17px; color: var(--muted); background: rgba(0,0,0,.18); border: 1px solid var(--line); border-radius: 16px; font-size: 13px; }
.composer b { display: grid; place-items: center; width: 26px; height: 26px; color: #04100d; background: var(--brand); border-radius: 8px; }
.demo-orbit { position: absolute; border: 1px solid rgba(41,221,182,.1); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; left: -150px; animation: orbit 16s linear infinite; }
.orbit-two { width: 350px; height: 350px; left: -60px; animation: orbit 11s linear reverse infinite; }
.demo-copy .number { margin: 0; color: var(--brand); font: 700 12px/1 "Manrope",sans-serif; letter-spacing: .14em; }
.demo-copy h3, .feature h3 { margin: 14px 0 16px; font-size: clamp(1.8rem,3vw,3rem); line-height: 1.1; letter-spacing: -.045em; }
.demo-copy > p:not(.number), .feature > p, .feature > div > p { color: var(--muted); }
.clean-list { display: grid; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; }
.clean-list span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 9px; color: #04100d; background: var(--brand); border-radius: 50%; font-size: 11px; }

.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 68px; }
.feature { position: relative; min-height: 440px; overflow: hidden; padding: 38px; background: linear-gradient(145deg, rgba(18,36,31,.86), rgba(9,22,18,.85)); border: 1px solid var(--line); border-radius: 30px; transition: transform .35s ease, border-color .35s ease; }
.feature:hover { transform: translateY(-7px); border-color: rgba(121,241,213,.28); }
.feature-large { min-height: 520px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--brand); background: rgba(41,221,182,.08); border: 1px solid rgba(41,221,182,.16); border-radius: 14px; font-size: 20px; }
.feature-label { margin: 25px 0 0 !important; color: var(--brand-soft) !important; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.feature h3 { max-width: 560px; font-size: clamp(1.7rem,3vw,2.8rem); }
.feature > p, .feature > div > p { max-width: 560px; }
.metric-visual { position: absolute; right: 35px; bottom: 34px; left: 35px; display: flex; align-items: end; gap: 45px; }
.metric-ring { display: grid; flex: 0 0 126px; aspect-ratio: 1; place-items: center; background: conic-gradient(var(--brand) 0 78%, rgba(255,255,255,.06) 78%); border-radius: 50%; }
.metric-ring::before { content:""; position:absolute; width:91px; aspect-ratio:1; background:var(--surface-strong); border-radius:50%; }
.metric-ring span { position: relative; font: 700 31px/1 "Manrope",sans-serif; }
.metric-ring small { color: var(--muted); font-size: 13px; }
.metric-bars { display: flex; flex: 1; align-items: end; gap: 10px; height: 105px; }
.metric-bars i { flex:1; height:var(--h); background: linear-gradient(to top, rgba(41,221,182,.12), var(--brand)); border-radius:7px 7px 2px 2px; }
.macro-row { position:absolute; right:38px; bottom:38px; left:38px; display:grid; grid-template-columns:repeat(3,1fr); gap:9px; }
.macro-row span { display:flex; flex-direction:column; padding:14px; background:rgba(255,255,255,.035); border:1px solid var(--line); border-radius:14px; font-size:11px; }
.macro-row b { margin-top:4px; color:var(--text); font-size:15px; }
.protein { color:var(--brand); }.carbs { color:var(--gold); }.fat { color:var(--coral); }
.action-toast { position:absolute; right:38px; bottom:38px; left:38px; display:flex; align-items:center; gap:12px; padding:15px; background:rgba(41,221,182,.08); border:1px solid rgba(41,221,182,.16); border-radius:15px; font-size:12px; }
.action-toast > span { color:var(--brand); }.action-toast div { display:flex; flex:1; flex-direction:column; }.action-toast small { color:var(--muted); }.action-toast .undo-label { color:var(--brand-soft); }
.feature-wide { grid-column:1/-1; display:grid; grid-template-columns:1fr .72fr; align-items:center; gap:50px; min-height:390px; }
.mode-stack { display:grid; gap:10px; transform:rotate(-3deg); }
.mode-stack span { display:flex; justify-content:space-between; padding:18px 20px; color:var(--muted); background:rgba(255,255,255,.03); border:1px solid var(--line); border-radius:15px; }
.mode-stack span.active { color:var(--text); background:rgba(41,221,182,.09); border-color:rgba(41,221,182,.2); transform:translateX(-16px); }
.mode-stack b { color:var(--brand-soft); font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:.09em; }

.privacy-banner { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:42px; margin-top:150px; padding:54px; background:linear-gradient(135deg,rgba(41,221,182,.1),rgba(15,31,27,.72)); border:1px solid rgba(121,241,213,.18); border-radius:34px; }
.privacy-banner h2 { font-size:clamp(2rem,4vw,3.6rem); }
.privacy-banner p:not(.eyebrow) { max-width:700px; color:var(--muted); }
.privacy-symbol { display:grid; width:82px; aspect-ratio:1; place-items:center; border:1px solid rgba(121,241,213,.28); border-radius:24px; }
.privacy-symbol span { position:relative; width:30px; height:24px; border:3px solid var(--brand); border-radius:8px; }
.privacy-symbol span::before { content:""; position:absolute; width:16px; height:17px; left:4px; top:-17px; border:3px solid var(--brand); border-bottom:0; border-radius:12px 12px 0 0; }

.final-cta { padding-block:190px; text-align:center; }
.final-cta h2 { margin-inline:auto; }
.final-cta > p:not(.eyebrow) { color:var(--muted); font-size:18px; }
.coming-soon { display:inline-block; margin-top:22px; padding:10px 17px; color:var(--brand-soft); background:rgba(41,221,182,.08); border:1px solid rgba(41,221,182,.16); border-radius:99px; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }

footer { display:grid; grid-template-columns:1fr 1fr 1fr; align-items:center; padding:38px 0 50px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
footer p { text-align:center; } footer > div { display:flex; justify-content:flex-end; gap:20px; } footer a { text-decoration:none; }

.legal-page { background:radial-gradient(circle at 80% 0,rgba(41,221,182,.1),transparent 30rem),var(--bg); }
.legal-wrap { width:min(920px,calc(100% - 48px)); margin:0 auto; }
.legal-hero { padding:90px 0 70px; }
.legal-hero h1 { font-size:clamp(3rem,7vw,6rem); }
.legal-hero > p:not(.eyebrow) { max-width:690px; margin:26px 0; color:var(--muted); font-size:21px; }
.legal-hero small { color:var(--muted); }
.legal-notice { padding:22px 25px; color:#f7dfa6; background:rgba(238,186,103,.08); border:1px solid rgba(238,186,103,.2); border-radius:18px; }
.legal-notice p { margin:4px 0 0; color:var(--muted); }
.legal-content { padding:50px 0 120px; }
.legal-content section { display:grid; grid-template-columns:70px 1fr; gap:22px; padding:46px 0; border-bottom:1px solid var(--line); }
.legal-number { color:var(--brand); font:700 11px/1 "Manrope",sans-serif; letter-spacing:.12em; }
.legal-content h2 { margin:0 0 18px; font-size:clamp(1.7rem,3vw,2.4rem); letter-spacing:-.04em; }
.legal-content h3 { margin:30px 0 8px; font-size:17px; }
.legal-content p, .legal-content li { color:var(--muted); }
.legal-content li { margin-bottom:5px; }
.legal-content a { color:var(--brand-soft); }

.reveal { animation: reveal linear both; animation-timeline:view(); animation-range:entry 5% cover 28%; }
@keyframes reveal { from { opacity:0; transform:translateY(34px); } to { opacity:1; transform:translateY(0); } }
@keyframes marquee { to { transform:translateX(-50%); } }
@keyframes breathe { 50% { transform:scale(1.18) translate(2rem,1rem); opacity:.17; } }
@keyframes hover-device { 50% { transform:perspective(1200px) rotateY(-1deg) translateY(-10px); } }
@keyframes orbit { to { transform:rotate(360deg); } }

@media (max-width: 900px) {
  nav a:not(:last-child) { display:none; }
  .hero { grid-template-columns:1fr; padding-top:70px; }
  .hero-copy { text-align:center; }
  .hero-lead { margin-inline:auto; }
  .hero-actions,.trust-row { justify-content:center; }
  .hero-visual { margin:20px -18vw 0; transform:none; }
  .intro-section,.conversation-demo { grid-template-columns:1fr; gap:55px; }
  .conversation-demo { padding-top:90px; }
  .chat-card { margin:auto; }
  .feature-wide { grid-template-columns:1fr; }
  .privacy-banner { grid-template-columns:1fr; }
  .privacy-symbol { width:66px; }
  footer { grid-template-columns:1fr; gap:18px; text-align:center; }
  footer > div { justify-content:center; }
}

@media (max-width: 650px) {
  .site-header,main > section,footer { width:min(100% - 30px,var(--max)); }
  .site-header { height:74px; }
  h1 { font-size:clamp(3rem,15vw,4.7rem); }
  .hero { min-height:auto; padding:65px 0 75px; }
  .hero-visual { margin:25px -34vw -10px; }
  .hero-visual figcaption { display:none; }
  .section { padding-top:105px; }
  .feature-grid { grid-template-columns:1fr; }
  .feature-wide { grid-column:auto; }
  .feature { min-height:430px; padding:28px; border-radius:24px; }
  .feature-large { min-height:500px; }
  .metric-visual { right:28px;bottom:28px;left:28px;gap:22px; }
  .metric-ring { flex-basis:100px; }.metric-ring::before { width:72px; }
  .privacy-banner { margin-top:110px; padding:32px 26px; border-radius:24px; }
  .final-cta { padding-block:135px; }
  .legal-wrap { width:calc(100% - 30px); }
  .legal-hero { padding:70px 0 48px; }
  .legal-content section { grid-template-columns:1fr; gap:12px; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms !important; animation-iteration-count:1 !important; }
  .reveal { animation:none; }
}

/* Página de soporte */
.support-hero { padding-bottom: 52px; }
.support-hero h1 em { color: var(--brand); font-style: normal; }
.support-contact-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(41, 221, 182, .11), rgba(17, 33, 29, .8));
  border: 1px solid rgba(121, 241, 213, .2);
  border-radius: 22px;
}
.support-contact-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #04100d;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand));
  border-radius: 15px;
  font: 800 21px/1 "Manrope", sans-serif;
}
.support-contact-card > div:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.support-contact-card small { color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.support-contact-card > div a { margin-top: 2px; color: var(--text); font: 700 clamp(1rem, 2.6vw, 1.35rem)/1.3 "Manrope", sans-serif; overflow-wrap: anywhere; text-decoration: none; }
.support-contact-card > div a:hover { color: var(--brand-soft); }
.support-content { padding-top: 20px; }
.support-checklist { margin: 20px 0; padding-left: 22px; }
.support-checklist li { margin-bottom: 9px; }
.support-warning { margin-top: 24px; padding: 18px 20px; color: var(--muted); background: rgba(238, 186, 103, .07); border: 1px solid rgba(238, 186, 103, .18); border-radius: 15px; }
.support-warning strong { color: #f7dfa6; }
.faq-list { display: grid; gap: 12px; margin-top: 25px; }
.faq-list details { padding: 0 20px; background: rgba(255, 255, 255, .025); border: 1px solid var(--line); border-radius: 16px; }
.faq-list details[open] { background: rgba(41, 221, 182, .045); border-color: rgba(121, 241, 213, .18); }
.faq-list summary { position: relative; padding: 19px 34px 19px 0; cursor: pointer; color: var(--text); font: 650 16px/1.4 "Manrope", sans-serif; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 16px; right: 0; color: var(--brand); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 20px; }

@media (max-width: 760px) {
  .support-contact-card { grid-template-columns: auto 1fr; }
  .support-contact-card .button { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 430px) {
  .support-contact-card { grid-template-columns: 1fr; text-align: center; }
  .support-contact-icon { margin-inline: auto; }
}
