/* Mock-up sections for the home page (owner preview only, not on the live site yet).
   1. "Open for business, day and night": pinned while you scroll; devices glide past and the sky goes from day to night.
   2. "Hex Premium": our own effect, glowing hexagon rings and a crowned Hoot.
   3. "grow your business with hex": closing burst, the violet wave rises into the laptop. */

/* ---------- 1. Day and night ---------- */
.dn{position:relative;height:280vh;background:#1B0F5E}
.dn-pin{position:sticky;top:0;height:100vh;overflow:hidden}
.dn-sky{position:absolute;inset:0}
.dn-day{background:linear-gradient(180deg,#F6F4FF 0%,#E7E0FF 100%)}
.dn-dusk{background:linear-gradient(180deg,#FFD7B8 0%,#C9B2FF 60%,#8C76FF 100%);opacity:0}
.dn-night{background:radial-gradient(120% 90% at 50% 0%,#3A22C9 0%,#1B0F5E 55%,#120A45 100%);opacity:0}
.dn-sun{position:absolute;left:50%;top:10%;width:150px;height:150px;margin-left:-75px;border-radius:50%;background:radial-gradient(circle,#FFE7A3 0%,#FFC857 60%,rgba(255,200,87,0) 72%)}
.dn-moon{position:absolute;left:50%;top:9%;width:110px;height:110px;margin-left:-55px;opacity:0}
.dn-stars{position:absolute;inset:0;opacity:0}
.dn-stars i{position:absolute;width:4px;height:4px;border-radius:50%;background:#fff}
.dn-head{position:absolute;left:0;right:0;top:27%;text-align:center;z-index:6;padding:0 20px}
.dn-head h2{font-size:clamp(40px,5.6vw,78px);font-weight:900;font-stretch:118%;letter-spacing:-.04em;line-height:.98;max-width:13ch;margin:0 auto;text-wrap:balance}
.dn-head h2 span{color:#5B3DF5}
.dn-clock{display:inline-flex;align-items:center;gap:10px;margin-top:22px;background:#fff;color:#151816;border-radius:999px;padding:10px 20px 10px 12px;font-size:20px;font-weight:850;box-shadow:0 14px 30px -14px rgba(21,24,22,.35);font-variant-numeric:tabular-nums}
.dn-clock b{width:30px;height:30px;border-radius:50%;background:#FFC857;display:grid;place-items:center;font-size:15px}
.dn-note{position:absolute;z-index:7;background:#fff;color:#151816;border-radius:20px;box-shadow:0 18px 40px -14px rgba(21,24,22,.4);padding:12px 16px;display:flex;align-items:center;gap:12px;font-size:15px;font-weight:800;opacity:0;transform:translateY(20px) scale(.9);transition:opacity .35s,transform .45s cubic-bezier(.2,.8,.3,1.3)}
.dn-note.show{opacity:1;transform:none}
.dn-note i{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;color:#fff;font-style:normal;flex:none}
.dn-note small{display:block;font-size:12.5px;font-weight:600;color:#5D625F}
.dn-dev{position:absolute;z-index:3;will-change:transform}
.dn-lap{width:360px}
.dn-lap .scr{border-radius:16px 16px 4px 4px;background:#0C0C12;padding:9px;aspect-ratio:16/10}
.dn-lap img,.dn-pad img,.dn-ph img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.dn-lap img{border-radius:8px}
.dn-lap .base{height:14px;background:linear-gradient(#D7D3E6,#B7B2C9);border-radius:0 0 14px 14px;margin:0 -24px;box-shadow:0 7px 0 #9C97B0}
.dn-pad{width:220px;aspect-ratio:3/4;border-radius:24px;background:#0C0C12;padding:9px;box-shadow:0 10px 0 #2A2640}
.dn-pad img{border-radius:16px}
.dn-ph{width:136px;aspect-ratio:9/19;border-radius:26px;background:#0C0C12;padding:6px;box-shadow:0 9px 0 #2A2640}
.dn-ph img{border-radius:20px}
.dn-tok{position:absolute;z-index:2;width:66px;height:66px;border-radius:19px;display:grid;place-items:center;will-change:transform}
.dn-tok svg{width:34px;height:34px}
.dn-hoot{position:absolute;z-index:5;width:150px;left:0;top:0;will-change:transform}

/* ---------- 2. Hex Premium ---------- */
.hp{position:relative;overflow:hidden;background:radial-gradient(90% 120% at 28% 50%,#2C1A8F 0%,#1B0F5E 58%,#120A45 100%);color:#fff;padding:100px 0}
.hp-in{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:30px}
.hp-orb{position:relative;width:min(480px,86vw);aspect-ratio:1;justify-self:center}
.hp-orb svg.rings{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hp-orb .r1{transform-origin:50% 50%;animation:hpspin 26s linear infinite}
.hp-orb .r2{transform-origin:50% 50%;animation:hpspin 18s linear infinite reverse}
.hp-orb .r3{transform-origin:50% 50%;animation:hpspin 40s linear infinite}
.hp-orb .core{filter:drop-shadow(0 0 40px rgba(255,200,87,.45))}
.hp-hoot{position:absolute;left:24%;top:26%;width:52%;animation:hpbob 3.4s ease-in-out infinite}
.hp-crown{position:absolute;left:40%;top:13%;width:20%;animation:hpbob 3.4s ease-in-out infinite;filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))}
.hp-flake{position:absolute;width:16px;height:18px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:#FFC857;opacity:0;animation:hprise 6s linear infinite}
.hp-copy{text-align:center}
.hp-copy small{display:block;font-size:17px;font-weight:900;letter-spacing:.14em;color:#C9C2FF}
.hp-copy h2{margin:6px 0 0;font-size:clamp(48px,6.2vw,90px);font-weight:900;font-stretch:122%;letter-spacing:-.04em;line-height:.95;background:linear-gradient(100deg,#FFC857 0%,#FFF3C4 22%,#FFC857 40%,#FF9F1C 60%,#FFC857 80%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:hpshine 5s linear infinite}
.hp-feats{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:24px auto 0;padding:0;max-width:460px}
.hp-feats li{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:8px 14px;font-size:15px;font-weight:700}
.hp-btn{display:inline-flex;margin-top:28px;min-height:56px;align-items:center;padding:0 32px;border-radius:18px;background:#FFC857;color:#151816;font-weight:900;letter-spacing:.06em;font-size:15px;text-decoration:none;box-shadow:0 6px 0 #C8901E}
@keyframes hpspin{to{transform:rotate(360deg)}}
@keyframes hpbob{0%,100%{translate:0 0}50%{translate:0 -12px}}
@keyframes hpshine{to{background-position:-250% 0}}
@keyframes hprise{0%{opacity:0;transform:translateY(0) rotate(0)}15%{opacity:.9}100%{opacity:0;transform:translateY(-260px) rotate(180deg)}}

/* ---------- 3. Closing burst ---------- */
.gb{position:relative;overflow:hidden;background:#fff;text-align:center;padding:110px 0 0}
.gb h2{font-size:clamp(46px,6.6vw,96px);font-weight:900;font-stretch:118%;letter-spacing:-.045em;line-height:.98;color:#5B3DF5;margin:0 auto;max-width:12ch;text-wrap:balance}
.gb .btn{margin-top:30px;min-width:min(360px,90vw);justify-content:center}
.gb-pile{position:relative;height:560px;margin-top:30px}
.gb-hill{position:absolute;left:0;right:0;bottom:0;width:100%;height:100%}
.gb-lap{position:absolute;left:50%;bottom:190px;width:440px;translate:-50% 0;z-index:2}
.gb-lap .scr{position:relative;border-radius:20px 20px 4px 4px;background:#0C0C12;padding:10px;aspect-ratio:16/10;box-shadow:0 0 80px rgba(123,98,255,.45)}
.gb-lap .scr img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:9px;display:block}
.gb-lap .base{height:16px;background:linear-gradient(#D7D3E6,#B7B2C9);border-radius:0 0 16px 16px;margin:0 -28px;box-shadow:0 8px 0 #9C97B0}
.gb-pop{position:absolute;left:50%;bottom:400px;z-index:3;opacity:0;animation:gbpop 3.8s cubic-bezier(.2,.7,.3,1) infinite;animation-play-state:paused}
.gb.live .gb-pop{animation-play-state:running}
.gb-pop .t{width:66px;height:66px;border-radius:19px;display:grid;place-items:center;box-shadow:0 7px 0 rgba(0,0,0,.16)}
.gb-pop .t svg{width:34px;height:34px}
.gb-pop .chip{background:#fff;border-radius:16px;box-shadow:0 12px 30px -10px rgba(21,24,22,.3);padding:10px 14px;font-size:14px;font-weight:800;white-space:nowrap;display:flex;gap:8px;align-items:center;color:#151816}
.gb-pop .chip b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px}
@keyframes gbpop{0%{opacity:0;transform:translate(-50%,40px) scale(.4)}12%{opacity:1}72%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--x)),var(--y)) scale(1) rotate(var(--r))}}

@media (max-width:860px){
  .dn{height:240vh}
  .dn-lap{width:230px}.dn-pad{width:140px}.dn-ph{width:92px}
  .dn-tok{width:48px;height:48px;border-radius:14px}.dn-tok svg{width:26px;height:26px}
  .dn-hoot{width:100px}
  .dn-head{top:24%}
  .dn-clock{font-size:17px}
  .dn-note{font-size:13px;padding:9px 12px}.dn-note i{width:28px;height:28px}
  #dnN1{left:4%!important;top:47%!important}#dnN2{right:4%!important;top:52%!important;left:auto!important}#dnN3{top:72%!important}
  .hp{padding:70px 0}.hp-in{grid-template-columns:1fr}
  .gb{padding-top:80px}.gb-pile{height:430px}.gb-lap{width:290px;bottom:150px}.gb-pop{bottom:310px}
  .gb-pop .chip{font-size:12px;padding:8px 10px}.gb-pop .t{width:50px;height:50px}.gb-pop .t svg{width:26px;height:26px}
}
@media (prefers-reduced-motion:reduce){.hp-orb .r1,.hp-orb .r2,.hp-orb .r3,.hp-hoot,.hp-crown,.hp-flake,.hp-copy h2,.gb-pop{animation:none!important}.gb-pop{opacity:1}}

/* ---------- The link-preview banner as a section: violet, white logo, Hoot, yellow line ---------- */
.hb{position:relative;overflow:hidden;background:radial-gradient(120% 120% at 78% 30%,#7B62FF 0%,#5B3DF5 45%,#4528DA 100%);color:#fff}
.hb-in{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:end;min-height:560px}
.hb-hx{position:absolute;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.hb-big{width:620px;height:715px;right:-120px;top:-60px;background:rgba(255,255,255,.08)}
.hb-low{width:340px;height:392px;left:38%;bottom:-240px;background:rgba(255,255,255,.06)}
.hb-gold{width:76px;height:88px;right:8%;top:56px;background:#FFC857;animation:hbFloat 5s ease-in-out infinite}
.hb-lil{width:42px;height:48px;left:46%;top:90px;background:#B9ADFF;animation:hbFloat 6s ease-in-out infinite reverse}
.hb-copy{position:relative;z-index:2;align-self:center;padding-block:90px}
.hb-brand{display:flex;align-items:center;gap:18px;margin:0;font-size:clamp(34px,4.4vw,64px);font-weight:900;font-stretch:118%;letter-spacing:-.035em}
.hb-brand svg{width:1.45em;height:1.45em;flex:none}
.hb h2{margin:36px 0 0;font-size:clamp(42px,5.2vw,74px);font-weight:850;font-stretch:115%;letter-spacing:-.035em;line-height:1.02;max-width:11ch}
.hb h2 span{color:#FFC857}
.hb-pill{display:inline-block;margin-top:36px;background:#fff;color:#5B3DF5;font-size:clamp(20px,2vw,28px);font-weight:850;border-radius:999px;padding:14px 30px;text-decoration:none;box-shadow:0 8px 0 #3A22C9;transition:transform .1s,box-shadow .1s}
.hb-pill:active{transform:translateY(6px);box-shadow:0 2px 0 #3A22C9}
.hb-hoot{position:relative;z-index:2;width:min(500px,100%);height:auto;justify-self:center;margin-bottom:-34px;filter:drop-shadow(0 30px 40px rgba(30,10,120,.35));animation:hbBob 4s ease-in-out infinite}
@keyframes hbFloat{0%,100%{translate:0 0;rotate:0deg}50%{translate:0 -14px;rotate:8deg}}
@keyframes hbBob{0%,100%{translate:0 0}50%{translate:0 -10px}}
@media (max-width:860px){
  .hb-in{grid-template-columns:1fr;min-height:0}
  .hb-copy{padding-block:60px 10px}
  .hb-hoot{width:min(300px,78vw);margin-bottom:-24px}
  .hb-big{width:360px;height:415px;right:-140px;top:auto;bottom:-60px}
  .hb-lil{left:8%;right:auto;top:auto;bottom:26%}
  .hb-gold{width:46px;height:53px;right:4%;top:14px}
}
@media (prefers-reduced-motion:reduce){.hb-gold,.hb-lil,.hb-hoot{animation:none}}

/* The closing wave flows straight into the footer, which takes the wave's violet (like Duolingo's green ending) */
.gb{margin-bottom:-1px}
.foot{background:#4528DA!important;color:#E4DEFF;border-top:0!important}
.foot p{color:#D9D3FF}
.foot-links a{color:#fff}
.foot-social a{border-color:rgba(255,255,255,.3);color:#fff}
.foot-social a:hover{border-color:#fff}

/* ---------- "Customers find you anytime, anywhere": Hoot hops across tilted phones (after Duolingo) ---------- */
.hop{position:relative;overflow:hidden;background:linear-gradient(180deg,#F6F4FF 0%,#EAE5FF 100%);padding:100px 0 40px}
.hop-head{text-align:center;position:relative;z-index:5}
.hop-head h2{margin:0 auto;font-size:clamp(40px,5.4vw,74px);font-weight:900;font-stretch:118%;letter-spacing:-.04em;line-height:.98;max-width:13ch;text-wrap:balance}
.hop-head h2 span{color:#5B3DF5}
.hop-btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:28px}
.hop-ghost{background:#fff!important;color:#5B3DF5!important;box-shadow:0 5px 0 #D6CCFF!important}
.hop-stage{position:relative;height:560px;max-width:1240px;margin:10px auto 0;perspective:1400px}
.hop-ph{position:absolute;left:var(--x);top:var(--y);width:150px;aspect-ratio:9/19;margin:-150px 0 0 -75px;border-radius:30px;background:#fff;padding:8px;
  transform:rotateX(52deg) rotateZ(-34deg);transform-style:preserve-3d;box-shadow:6px 12px 0 var(--edge),12px 26px 40px -10px rgba(40,20,120,.35);transition:box-shadow .3s,filter .3s}
.hop-ph img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:22px;display:block}
.hop-ph.lit{filter:brightness(1.08);box-shadow:6px 12px 0 var(--edge),0 0 0 6px rgba(255,255,255,.9),12px 26px 50px -6px rgba(91,61,245,.55)}
.hop-hoot{position:absolute;left:0;top:0;width:150px;z-index:6;will-change:transform;pointer-events:none}
.hop-hoot img{width:100%;display:block;transform-origin:50% 100%}
.hop-note{position:absolute;z-index:7;background:#fff;border-radius:18px;box-shadow:0 16px 36px -14px rgba(21,24,22,.32);padding:10px 14px;display:flex;align-items:center;gap:10px;font-size:14.5px;font-weight:800;white-space:nowrap;opacity:0;transform:translate(-50%,10px) scale(.8);transition:opacity .3s,transform .4s cubic-bezier(.2,1.4,.4,1)}
.hop-note.show{opacity:1;transform:translate(-50%,0) scale(1)}
.hop-note i{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;color:#fff;font-style:normal;flex:none}
.hop-note small{display:block;font-size:12px;color:#5D625F;font-weight:600}
.hop-tok{position:absolute;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;color:#fff;font-size:24px;font-weight:900;animation:hopTok 5s ease-in-out infinite}
.hop-tok:nth-of-type(2n){animation-delay:1.3s}
@keyframes hopTok{0%,100%{translate:0 0;rotate:-6deg}50%{translate:0 -14px;rotate:6deg}}
@media (max-width:860px){
  .hop{padding:70px 0 20px}
  .hop-stage{height:440px}
  .hop-ph{width:96px;margin:-96px 0 0 -48px;border-radius:22px;padding:6px}
  .hop-ph img{border-radius:16px}
  .hop-hoot{width:96px}
  .hop-note{font-size:12.5px;padding:8px 11px}
  .hop-tok{width:40px;height:40px;font-size:18px}
}
@media (prefers-reduced-motion:reduce){.hop-tok{animation:none}}
