/* Motion Graphics with AI training page. Sits on the site's own styles.css (svc-* page template);
   this file only adds the registration form and a few small extras. Uses the site's color variables. */

/* one-line headings: the script shrinks the text until it fits */
.tr-one{white-space:nowrap}
.svc-hero h1.tr-one{font-size:clamp(26px,4.4vw,52px)}
.tr-old{opacity:.7;font-weight:700;margin-right:4px}

/* buttons */
.btn.tr-outline{background:#fff;color:var(--blue-primary);border:1.5px solid rgba(11,99,206,.3);padding:13px 24px;justify-content:center}
.btn.tr-outline:hover{transform:translateY(-3px);border-color:var(--blue)}
.btn.tr-green{background:#16A34A;color:#fff;justify-content:center}
.btn.tr-wa{background:#25D366;color:#073b1a;justify-content:center;font-weight:800}
.tr-block{width:100%;justify-content:center}

/* cards */
.tr-tag{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;padding:4px 10px;border-radius:999px;background:#FDECEC;color:#B42318;margin-bottom:10px}
.tr-fix{color:#16A34A}
.tr-tools{margin-top:22px}
.tr-who{margin-top:6px}
.tr-p{color:var(--gray-strong);font-size:14.5px;line-height:1.65;margin:12px 0}
.tr-p b{color:var(--navy)}
.tr-price{display:flex;align-items:baseline;gap:12px;margin:6px 0 16px}
.tr-price s{font-family:var(--font-head);font-weight:800;font-size:24px;color:var(--gray)}
.tr-price b{font-family:var(--font-head);font-weight:800;font-size:56px;line-height:1;color:var(--blue-primary)}
.tr-price span{font-weight:700;color:var(--gray-strong)}
.svc-panel .tr-block{margin-top:20px}

/* form */
.tr-reg-wrap{max-width:660px}
.tr-form{padding:30px 28px}
.reg-progress{list-style:none;display:flex;justify-content:space-between;gap:6px;margin-bottom:22px}
.reg-progress li{flex:1;text-align:center;font-size:12.5px;font-weight:700;color:var(--gray);position:relative;font-family:var(--font-head)}
.reg-progress li span{display:grid;place-items:center;width:32px;height:32px;margin:0 auto 5px;border-radius:50%;background:var(--blue-vlight);border:1px solid var(--blue-soft);color:var(--blue-primary);position:relative;z-index:1}
.reg-progress li.on{color:var(--navy)}
.reg-progress li.on span{background:var(--blue-primary);color:#fff;border-color:var(--blue-primary)}
.reg-progress li.done span{background:#16A34A;color:#fff;border-color:#16A34A}
.reg-progress li:not(:last-child)::after{content:"";position:absolute;top:16px;left:calc(50% + 22px);right:calc(-50% + 22px);height:2px;background:var(--blue-soft)}
.reg-step h3{font-size:22px;margin-bottom:14px;color:var(--navy)}
.field select{width:100%;font-family:var(--font-body);font-size:15px;color:var(--navy);background-color:rgba(255,255,255,.7);border:1.5px solid var(--blue-soft);border-radius:14px;padding:14px 40px 14px 16px;appearance:none;-webkit-appearance:none;transition:.2s;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230B63CE' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.field select:focus,.tr-paychoose select:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 4px rgba(18,104,232,.12);background-color:#fff}
.field input[readonly]{background:var(--blue-vlight);color:var(--gray-strong)}
.field.invalid select{border-color:#B42318;border-width:2px}
.field.invalid .err{display:block}
.prog:not(.on){display:none}
.prog.on{animation:trdrop .35s ease both}
.tr-phone{display:flex}
.tr-phone .prefix{display:grid;place-items:center;padding:0 14px;background:var(--blue-vlight);border:1.5px solid var(--blue-soft);border-right:0;border-radius:14px 0 0 14px;font-weight:700;color:var(--navy)}
.tr-phone input{border-radius:0 14px 14px 0}
.tr-hp{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0}
.tr-muted{color:var(--gray-strong);font-size:14.5px;margin-bottom:12px}
.tr-opt{color:var(--gray);font-weight:500}
.tr-err{color:#B42318;font-size:12.5px;font-weight:600;margin-top:6px}
.tr-err:empty{display:none}
.tr-err-form{margin:0 0 12px;font-size:13.5px}
.tr-paychoose{margin-top:16px;animation:trdrop .3s ease both}
.tr-paychoose>label{display:block;font-family:var(--font-head);font-weight:600;font-size:13.5px;color:var(--navy);margin-bottom:7px}
.tr-paychoose select{width:100%;font-family:var(--font-body);font-size:15px;color:var(--navy);background-color:rgba(255,255,255,.7);border:1.5px solid var(--blue-soft);border-radius:14px;padding:14px 40px 14px 16px;appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230B63CE' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center}
.tr-paybox{margin-top:14px;padding:18px;border-radius:18px;background:var(--blue-vlight);border:1.5px dashed rgba(11,99,206,.45);animation:trdrop .3s ease both}
.tr-code{font-family:'Courier New',Courier,monospace;font-weight:700;font-size:clamp(16px,4.6vw,22px);color:var(--navy);background:#FFF6C2;border:1px solid #f0d94a;border-radius:12px;padding:14px 10px;margin:10px 0 14px;text-align:center;word-break:break-all}
.tr-pay-actions{display:flex;gap:10px;flex-wrap:wrap}
.tr-pay-actions .btn{flex:1 1 150px;justify-content:center}
.tr-note{font-size:13.5px;color:var(--gray-strong);margin:12px 0}
.tr-note.tr-desk{color:#8a4b00;font-weight:600}
.tr-notice{background:var(--blue-vlight);border:1px solid var(--blue-soft);border-radius:12px;padding:11px 14px;font-size:13.5px;margin-bottom:16px;color:var(--navy)}
.tr-drop{display:grid;gap:10px;place-items:center;text-align:center;padding:20px 12px;border:2px dashed rgba(11,99,206,.4);border-radius:14px;cursor:pointer;color:var(--gray-strong);font-weight:600;margin:0;background:var(--blue-vlight);font-size:14px}
.tr-drop:hover,.tr-drop:focus-within{border-color:var(--blue)}
.tr-drop input{position:absolute;opacity:0;width:1px;height:1px;padding:0}
.tr-drop img{max-height:200px;border-radius:10px;border:1px solid var(--blue-soft)}
.tr-back{display:block;margin:14px auto 0;background:none;border:0;color:var(--gray-strong);font:inherit;font-weight:600;cursor:pointer;text-decoration:underline;padding:6px}
.tr-spin{display:none;width:18px;height:18px;border:3px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:trspin .8s linear infinite}
.is-loading .tr-spin{display:inline-block}
.tr-help{text-align:center;margin-top:16px;color:var(--gray-strong);font-size:14.5px}
.tr-help a{color:var(--blue-primary);font-weight:700}
.tr-success{text-align:center;padding:4px 0}
.tr-party{font-size:40px;animation:trpop .6s ease both}
.tr-success h3{font-size:24px;margin:6px 0 4px;color:var(--navy)}
.tr-lead2{font-size:16px;font-weight:700;margin-bottom:6px;color:var(--navy)}
.tr-success .tr-muted{margin-bottom:12px}
#confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:200}
@keyframes trdrop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@keyframes trspin{to{transform:rotate(360deg)}}
@keyframes trpop{0%{transform:scale(.3)}70%{transform:scale(1.15)}100%{transform:scale(1)}}

/* tablet and phone */
@media (max-width:900px){
  .tr-form{padding:22px 18px}
}
@media (max-width:699px){
  .tr-actions{flex-wrap:nowrap;gap:8px}
  .tr-actions .btn{flex:1 1 0;min-width:0;padding:11px 6px;font-size:13.5px;white-space:nowrap;justify-content:center}
  .tr-actions .btn svg{display:none}
  .svc-badges{display:none}
  .tr-slide{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -14px;padding:2px 14px 8px;scrollbar-width:none}
  .tr-slide::-webkit-scrollbar{display:none}
  .tr-slide .svc-feature{flex:0 0 84%;scroll-snap-align:center;padding:16px}
  .tr-learn{grid-template-columns:1fr 1fr;gap:10px}
  .tr-learn .svc-feature{padding:14px 12px}
  .tr-learn .svc-feature p{display:none}
  .tr-learn .svc-feature h3{font-size:14px;line-height:1.25;margin:8px 0 0}
  .tr-tools{margin-top:14px}
  .tr-form{padding:16px 14px}
  .reg-progress{margin-bottom:12px}
  .reg-progress li span{width:26px;height:26px;font-size:12.5px;margin-bottom:2px}
  .reg-progress li:not(:last-child)::after{top:13px;left:calc(50% + 19px);right:calc(-50% + 19px)}
  .reg-step h3{font-size:18px;margin-bottom:10px}
  .form-row{grid-template-columns:1fr 1fr;gap:8px}
  .field{margin-bottom:10px}
  .field label{font-size:12.5px;margin-bottom:4px}
  .field input,.field select{padding:10px 12px;font-size:15px;border-radius:11px}
  .tr-phone .prefix{padding:0 10px;border-radius:11px 0 0 11px}
  .tr-phone input{border-radius:0 11px 11px 0}
  .tr-paybox{padding:12px}
  .tr-code{padding:10px 8px;margin:8px 0 10px}
  .tr-pay-actions .btn{padding:10px}
}
@media (prefers-reduced-motion:reduce){
  .prog.on,.tr-paychoose,.tr-paybox,.tr-party{animation:none}
}
.eyebrow.tr-one{display:flex;max-width:100%;overflow:hidden}
.eyebrow.tr-one{width:fit-content}
/* keep one-line headings from stretching their grid column wider than the screen */
.svc-hero-grid>*,.svc-section-inner,.svc-section-inner>*,.svc-split>*{min-width:0}
@media (max-width:900px){
  .svc-hero-grid{grid-template-columns:minmax(0,1fr)}
  .svc-split{grid-template-columns:minmax(0,1fr)}
}

/* AI Motion Studio mockup inside the hero card (animated) */
.tr-panel{gap:18px;padding:26px 24px}
.tr-studio{position:relative;padding:8px 0}
.studio-win{background:linear-gradient(160deg,#0b2a66,#06183d);border:1px solid rgba(255,255,255,.18);border-radius:16px;box-shadow:0 22px 44px -22px rgba(0,0,0,.55);overflow:hidden;color:#fff;animation:trbob 6s ease-in-out infinite}
.studio-bar{display:flex;align-items:center;gap:6px;padding:9px 12px;background:rgba(255,255,255,.07);font-size:11px;color:#bcd0f5;font-weight:600}
.studio-bar i{width:9px;height:9px;border-radius:50%;background:#ff5f57}.studio-bar i:nth-child(2){background:#febc2e}.studio-bar i:nth-child(3){background:#28c840}
.studio-bar span{margin-left:6px}
.studio-body{display:grid;gap:10px;padding:12px}
.bubble{font-size:12px;line-height:1.4;padding:8px 11px;border-radius:11px;max-width:94%;color:#fff}
.bubble-me{background:#1677FF;margin-left:auto;border-bottom-right-radius:4px}
.bubble-ai{background:rgba(255,255,255,.12);margin-top:7px;border-bottom-left-radius:4px}
.dots b{display:inline-block;width:5px;height:5px;border-radius:50%;background:#FFE14D;margin-right:3px;animation:trblink 1.2s infinite}
.dots b:nth-child(2){animation-delay:.2s}.dots b:nth-child(3){animation-delay:.4s}
.studio-frame{position:relative;aspect-ratio:16/8;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,#082B70,#0B63CE 60%,#1677FF)}
.frame-art{position:absolute;inset:-30%;background:conic-gradient(from 0deg,#1677FF,#46BEFF,#0B63CE,#00C2FF,#1677FF);filter:blur(30px);opacity:.5;animation:trspin 14s linear infinite}
.frame-text{position:absolute;left:6%;top:50%;transform:translateY(-50%);font-family:var(--font-head);font-weight:800;font-size:clamp(15px,4.4vw,24px);line-height:1.05;color:#fff;text-shadow:0 3px 14px rgba(0,0,0,.4)}
.frame-play{position:absolute;right:7%;bottom:14%;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.93)}
.frame-play::after{content:"";position:absolute;left:14px;top:10px;border-left:11px solid #082B70;border-top:8px solid transparent;border-bottom:8px solid transparent}
.timeline{position:relative;padding:8px 12px 12px;display:grid;gap:5px;background:rgba(0,0,0,.25)}
.track{display:flex;gap:4px;height:11px}
.track b{border-radius:3px;flex:1}
.t1 b{background:#1677FF}.t1 b:nth-child(2){flex:2}.t2 b{background:#1fd0c8}.t2 b:nth-child(1){flex:3}.t3 b{background:#ff9f43}.t3 b:nth-child(3){flex:2}
.playhead{position:absolute;top:5px;bottom:6px;left:12px;width:2px;background:#FFE14D;box-shadow:0 0 8px #FFE14D;animation:trscrub 6s linear infinite}
.float{position:absolute;display:flex;align-items:center;gap:7px;padding:8px 12px;border-radius:12px;font-weight:800;font-size:13px;font-family:var(--font-head);background:#fff;color:var(--navy);box-shadow:0 12px 26px -10px rgba(0,0,0,.45);animation:trbob 5s ease-in-out infinite}
.f-chatgpt{left:-10px;top:-6px}.f-chatgpt svg{color:#0f9d6a}
.f-flow{left:-6px;bottom:-4px;animation-delay:-1.5s}.f-flow svg{color:#1677FF}
.f-claude{right:-8px;top:42%;animation-delay:-3s}.f-claude svg{color:#e0662a}
@keyframes trbob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes trblink{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes trscrub{from{left:12px}to{left:calc(100% - 14px)}}
@media (max-width:899px){
  .float{display:none}
  .tr-panel{padding:16px 14px}
}
@media (prefers-reduced-motion:reduce){
  .studio-win,.float,.frame-art,.playhead,.dots b{animation:none}
}

/* v-glass: the hero card is the site's frosted glass card, lined up with the text block */
.tr-panel{position:relative;border-radius:var(--card-radius);padding:22px;display:flex;flex-direction:column;gap:16px;color:var(--navy)}
.tr-panel .sp-stats{display:flex;gap:26px;margin:0;flex-wrap:wrap;align-items:flex-end}
.tr-panel .sp-stats .n{font-family:var(--font-head);font-weight:800;font-size:26px;color:var(--blue-primary);line-height:1.1}
.tr-panel .sp-stats .l{font-size:12.5px;font-weight:600;color:var(--gray-strong);margin-top:2px}
.tr-panel .tr-old{color:var(--gray);opacity:1}
.tr-studio{flex:1;display:flex}
.studio-win{width:100%;display:flex;flex-direction:column;background:linear-gradient(160deg,rgba(11,42,102,.92),rgba(6,24,61,.94));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.55);box-shadow:0 0 0 1px rgba(15,15,16,.05),0 18px 40px -16px rgba(8,43,112,.5),inset 0 1px 0 rgba(255,255,255,.25)}
.studio-body{flex:1;grid-template-rows:auto 1fr}
.studio-frame{aspect-ratio:auto;min-height:120px}
.float{background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,255,255,.72));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.9);box-shadow:0 0 0 1px rgba(15,15,16,.05),0 12px 26px -10px rgba(8,43,112,.35)}
@media (min-width:900px){
  .svc-hero-grid{align-items:stretch}
  .svc-hero-txt{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}
  .svc-hero-txt .lead,.svc-hero-txt .svc-badges{margin-bottom:0}
}
@media (min-width:900px){
  .svc-hero-txt{align-items:stretch}
  .svc-hero-txt .eyebrow{align-self:flex-start}
}
.studio-win .timeline{width:100%;align-self:stretch}

/* FAQ: two columns and tighter on desktop so the section is short */
@media (min-width:900px){
  #faq .svc-faq{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:none;align-items:start}
  #faq .svc-faq details{padding:14px 20px}
  #faq .svc-faq summary{font-size:15px}
  #faq .svc-faq p{font-size:14px;margin-top:8px}
  #faq .svc-h{margin-bottom:14px}
}
