/* =========================================================
   GLOBAL NETWORK SECTION — all classes prefixed "gan-"
   Desktop is laid out on the 2048px design grid: 1 design px = var(--u)
   SCSS-style tokens + BEM blocks, compiled flat (no build step)
   ========================================================= */
.gan-section{
  --u:calc(min(100vw, 2240px) / 2048);
  --gan-navy:#0b1d4f;
  --gan-blue:#1a6fe6;
  --gan-text:#3c4a6b;
  --gan-orange:#ff7a00;
  position:relative;overflow:hidden;isolation:isolate;width:100%;
  min-height:calc(var(--u) * 768);
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--gan-navy);
  background:
    radial-gradient(55% 70% at 70% 35%, #d7e9fd 0%, rgba(215,233,253,0) 70%),
    linear-gradient(100deg,#f7fafe 0%,#eff6fe 38%,#e3effd 62%,#d8e9fc 100%);
  box-sizing:border-box;
}
.gan-section *,.gan-section *::before,.gan-section *::after{box-sizing:border-box;}
.gan-section img{display:block;-webkit-user-drag:none;}

/* ---------- decor ---------- */
.gan-section .gan-decor{position:absolute;inset:0;z-index:0;pointer-events:none;}
.gan-section .gan-decor svg{position:absolute;display:block;}
.gan-section .gan-wave{left:0;bottom:0;width:calc(var(--u) * 820);height:auto;}
.gan-section .gan-sky{left:calc(var(--u) * 250);top:0;width:calc(var(--u) * 900);height:auto;opacity:.8;}

/* ---------- scene (right) ---------- */
.gan-section .gan-scene{
  position:absolute;top:0;right:0;bottom:0;aspect-ratio:1038 / 768;z-index:0;
  container-type:inline-size;
  opacity:0;transition:opacity 1.4s ease .15s;
}
.gan-section.gan-in .gan-scene{opacity:1;}
.gan-section .gan-stage{position:absolute;inset:0;transform-origin:62% 45%;animation:gan-drift 22s ease-in-out infinite alternate;}
@keyframes gan-drift{from{transform:scale(1)}to{transform:scale(1.035) translate(-.4%,.3%)}}
.gan-section .gan-scene-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 17%);mask-image:linear-gradient(90deg,transparent 0,#000 17%);}
.gan-section .gan-routes{position:absolute;inset:0;width:100%;height:100%;overflow:visible;}
.gan-section .gan-route{fill:none;stroke:url(#ganRouteGrad);stroke-width:2.2;stroke-linecap:round;opacity:.55;stroke-dasharray:900;stroke-dashoffset:900;transition:stroke-dashoffset 1.8s ease;}
.gan-section.gan-in .gan-route{stroke-dashoffset:0;}

/* pins */
.gan-section .gan-pin{position:absolute;aspect-ratio:30/38;transform-origin:50% 100%;opacity:0;transform:translateY(-60%) scale(.6);}
.gan-section.gan-in .gan-pin{animation:gan-drop .8s cubic-bezier(.3,1.5,.5,1) forwards;}
@keyframes gan-drop{to{opacity:1;transform:none;}}
.gan-section .gan-pin svg{width:100%;height:100%;display:block;overflow:visible;filter:drop-shadow(0 .35cqw .5cqw rgba(200,80,0,.35));}
.gan-section .gan-pin::after{
  content:"";position:absolute;left:50%;bottom:-4%;width:160%;aspect-ratio:3/1;transform:translate(-50%,50%);
  border-radius:50%;background:radial-gradient(closest-side,rgba(255,170,60,.9),rgba(255,140,30,0));
  animation:gan-pulse 2.4s ease-out infinite;
}
@keyframes gan-pulse{0%{opacity:.9;transform:translate(-50%,50%) scale(.5)}100%{opacity:0;transform:translate(-50%,50%) scale(1.9)}}
.gan-section .gan-label{
  position:absolute;display:flex;align-items:center;white-space:nowrap;
  height:3.66cqw;padding:0 1.25cqw 0 1.75cqw;border-radius:999px;
  background:rgba(255,255,255,.96);box-shadow:0 .5cqw 1.4cqw -.4cqw rgba(16,60,140,.35);
  font-weight:700;font-size:1.62cqw;letter-spacing:-.01em;color:var(--gan-navy);
  opacity:0;transform:translateX(-8px) scale(.9);transform-origin:left center;
  transition:opacity .5s ease,transform .6s cubic-bezier(.3,1.4,.5,1);
}
.gan-section.gan-in .gan-label{opacity:1;transform:none;}
.gan-section .gan-label--hub{height:4.8cqw;padding:0 1.9cqw 0 2.4cqw;font-size:2.2cqw;font-weight:800;}

/* ---------- content (left) ---------- */
.gan-section .gan-wrap{position:relative;z-index:1;max-width:2240px;margin:0 auto;padding:calc(var(--u) * 72) 0 calc(var(--u) * 56) calc(var(--u) * 104);}
.gan-section .gan-content{width:calc(var(--u) * 900);display:flex;flex-direction:column;align-items:flex-start;}

.gan-section .gan-badge{
  display:inline-flex;align-items:center;gap:calc(var(--u) * 14);
  height:max(40px,calc(var(--u) * 58));padding:0 calc(var(--u) * 26) 0 calc(var(--u) * 14);border-radius:999px;
  background:rgba(255,255,255,.75);box-shadow:0 8px 24px -14px rgba(16,60,140,.35),0 0 0 1px rgba(255,255,255,.9);
  font-weight:600;font-size:max(13px,calc(var(--u) * 18.5));color:var(--gan-navy);text-decoration:none;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.gan-section .gan-badge-ico{width:max(26px,calc(var(--u) * 38));aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#dbe9ff,#b9d4fb);color:#1d4fb8;}
.gan-section .gan-badge-ico svg{width:62%;height:62%;}
.gan-section .gan-badge > svg{width:max(16px,calc(var(--u) * 22));height:auto;color:var(--gan-blue);margin-left:calc(var(--u) * 18);transition:transform .3s ease;}
.gan-section .gan-badge:hover > svg{transform:translateX(4px);}

.gan-section .gan-title{
  margin:calc(var(--u) * 28) 0 0;font-weight:800;letter-spacing:-.03em;line-height:.96;
  font-size:max(26px,calc(var(--u) * 63));color:var(--gan-navy);
}
.gan-section .gan-title .gan-line{display:block;overflow:hidden;padding:0 .1em .06em 0;}
.gan-section .gan-title .gan-line > span{display:inline-block;transform:translateY(105%);transition:transform 1s cubic-bezier(.2,.8,.2,1);}
.gan-section .gan-title .gan-line:nth-child(2) > span{transition-delay:.1s;}
.gan-section .gan-title .gan-line:nth-child(3) > span{transition-delay:.2s;}
.gan-section.gan-in .gan-title .gan-line > span{transform:none;}
.gan-section .gan-title small{font-size:.72em;font-weight:800;letter-spacing:-.02em;}
.gan-section .gan-title .gan-beyond{
  display:inline-block;font-style:italic;font-size:1.14em;letter-spacing:-.035em;padding:.02em .12em .04em 0;
  background:linear-gradient(100deg,#ff8a00 0%,#ff6a00 40%,#ffb347 50%,#ff6a00 60%,#ff7a00 100%);background-size:250% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;color:transparent;
  animation:gan-sheen 6s ease-in-out 2s infinite;
}
@keyframes gan-sheen{0%,60%{background-position:100% 0}100%{background-position:-50% 0}}

.gan-section .gan-rule{display:flex;align-items:center;margin-top:calc(var(--u) * 10);width:calc(var(--u) * 230);height:max(3px,calc(var(--u) * 5));}
.gan-section .gan-rule span:first-child{width:34%;height:100%;border-radius:4px;background:var(--gan-orange);transform:scaleX(0);transform-origin:left;transition:transform .8s cubic-bezier(.2,.8,.2,1) .5s;}
.gan-section .gan-rule span:last-child{flex:1;height:2px;background:linear-gradient(90deg,#d6e2f3,rgba(214,226,243,0));transform:scaleX(0);transform-origin:left;transition:transform 1s cubic-bezier(.2,.8,.2,1) .7s;}
.gan-section.gan-in .gan-rule span{transform:none;}

.gan-section .gan-sub{
  margin:calc(var(--u) * 22) 0 0;max-width:calc(var(--u) * 600);
  font-weight:500;font-size:max(14px,calc(var(--u) * 21.5));line-height:1.42;color:var(--gan-text);
}

/* feature cards */
.gan-section .gan-feats{display:flex;gap:calc(var(--u) * 23);margin-top:calc(var(--u) * 28);width:100%;}
.gan-section .gan-feat{
  position:relative;display:flex;min-width:0;flex-basis:0;align-items:center;gap:calc(var(--u) * 13);
  min-height:calc(var(--u) * 126);padding:calc(var(--u) * 18) calc(var(--u) * 16) calc(var(--u) * 18) calc(var(--u) * 18);
  border-radius:calc(var(--u) * 22);text-decoration:none;color:inherit;
  background:linear-gradient(160deg,rgba(255,255,255,.92),rgba(255,255,255,.7));
  box-shadow:0 14px 34px -20px rgba(16,60,140,.35),0 0 0 1px rgba(255,255,255,.95);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease;
}
.gan-section .gan-feat:nth-child(1){flex:277;}
.gan-section .gan-feat:nth-child(2){flex:292;}
.gan-section .gan-feat:nth-child(3){flex:283;}
.gan-section .gan-feat:hover{transform:translateY(-5px);box-shadow:0 22px 40px -20px rgba(16,60,140,.45),0 0 0 1px #fff;}
.gan-section .gan-feat-ico{width:max(40px,calc(var(--u) * 62));flex:none;aspect-ratio:1;}
.gan-section .gan-feat-ico svg{width:100%;height:100%;display:block;overflow:visible;transition:transform .5s cubic-bezier(.3,1.5,.5,1);}
.gan-section .gan-feat:hover .gan-feat-ico svg{transform:scale(1.08) rotate(-4deg);}
.gan-section .gan-feat-txt{flex:1;min-width:0;}
.gan-section .gan-feat-title{display:block;font-weight:700;font-size:max(13px,calc(var(--u) * 19.5));line-height:1.22;letter-spacing:-.01em;color:var(--gan-navy);}
.gan-section .gan-feat-sub{display:block;margin-top:calc(var(--u) * 9);font-weight:500;font-size:max(10.5px,calc(var(--u) * 12.5));color:var(--gan-navy);opacity:.85;line-height:1.3;}
.gan-section .gan-feat-go{
  flex:none;width:max(26px,calc(var(--u) * 38));aspect-ratio:1;border-radius:50%;display:grid;place-items:center;
  background:#fff;color:var(--gan-navy);box-shadow:0 6px 14px -8px rgba(16,60,140,.45);
  transition:background .3s ease,color .3s ease,transform .3s ease;
}
.gan-section .gan-feat-go svg{width:52%;height:52%;}
.gan-section .gan-feat:hover .gan-feat-go{background:var(--gan-blue);color:#fff;transform:translateX(3px);}

/* CTA */
.gan-section .gan-cta{display:flex;align-items:center;flex-wrap:wrap;gap:calc(var(--u) * 36);margin-top:calc(var(--u) * 33);}
.gan-section .gan-btn{
  position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:calc(var(--u) * 26);
  height:max(44px,calc(var(--u) * 64));padding:0 calc(var(--u) * 40);min-width:max(170px,calc(var(--u) * 272));border-radius:999px;
  background:linear-gradient(180deg,#ff8f1a 0%,#ff6a00 100%);color:#fff;text-decoration:none;
  font-weight:700;font-size:max(14px,calc(var(--u) * 20));white-space:nowrap;
  box-shadow:0 14px 26px -12px rgba(255,106,0,.75),inset 0 1px 0 rgba(255,255,255,.35);
  transition:transform .3s ease,box-shadow .3s ease;
}
.gan-section .gan-btn::before{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.45),rgba(255,255,255,0));transform:skewX(-20deg);animation:gan-shine 4.5s ease-in-out 2.4s infinite;}
@keyframes gan-shine{0%,70%{left:-60%}100%{left:130%}}
.gan-section .gan-btn svg{width:max(18px,calc(var(--u) * 26));height:auto;transition:transform .3s ease;}
.gan-section .gan-btn:hover{transform:translateY(-2px);}
.gan-section .gan-btn:hover svg{transform:translateX(5px);}
.gan-section .gan-watch{display:inline-flex;align-items:center;gap:calc(var(--u) * 16);text-decoration:none;color:var(--gan-navy);font-weight:600;font-size:max(14px,calc(var(--u) * 19));}
.gan-section .gan-play{position:relative;width:max(44px,calc(var(--u) * 64));aspect-ratio:1;border-radius:50%;display:grid;place-items:center;border:2px solid #8fb6ee;background:rgba(255,255,255,.65);color:var(--gan-navy);transition:background .3s ease,color .3s ease,border-color .3s ease;}
.gan-section .gan-play::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid rgba(26,111,230,.45);animation:gan-ring 2.4s ease-out infinite;}
@keyframes gan-ring{0%{transform:scale(1);opacity:.8}100%{transform:scale(1.45);opacity:0}}
.gan-section .gan-play svg{width:34%;height:34%;margin-left:8%;}
.gan-section .gan-watch:hover .gan-play{background:var(--gan-blue);border-color:var(--gan-blue);color:#fff;}
.gan-section a:focus-visible{outline:3px solid rgba(26,111,230,.45);outline-offset:4px;}

/* entrance */
.gan-section .gan-a{opacity:0;transform:translateY(24px);transition:opacity .9s ease,transform .9s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease;}
.gan-section.gan-in .gan-a{opacity:1;transform:none;}

/* ---------- large desktop ---------- */
@media (min-width:1101px) and (max-width:1600px){ .gan-section .gan-feat-go{width:24px;} .gan-section .gan-feat{padding-right:10px;gap:9px;} }
@media (min-width:2240px){ .gan-section .gan-wrap{padding-left:calc((100vw - 2240px) / 2 + var(--u) * 104);} }

/* ---------- tablet & mobile: stack ---------- */
@media (max-width:1100px){
  .gan-section{min-height:0;display:flex;flex-direction:column;}
  .gan-section .gan-wrap{width:100%;}
  .gan-section .gan-wrap{padding:52px 32px 28px;}
  .gan-section .gan-content{width:100%;max-width:820px;}
  .gan-section .gan-badge{height:44px;padding:0 20px 0 10px;font-size:14.5px;gap:10px;}
  .gan-section .gan-badge-ico{width:30px;}
  .gan-section .gan-badge > svg{margin-left:10px;}
  .gan-section .gan-title{font-size:clamp(30px,5.4vw,52px);margin-top:20px;}
  .gan-section .gan-rule{width:170px;height:4px;margin-top:14px;}
  .gan-section .gan-sub{font-size:16px;max-width:560px;margin-top:20px;}
  .gan-section .gan-feats{gap:14px;margin-top:28px;}
  .gan-section .gan-feat{min-height:96px;padding:14px;gap:12px;border-radius:18px;}
  .gan-section .gan-feat-ico{width:48px;}
  .gan-section .gan-feat-title{font-size:15px;}
  .gan-section .gan-feat-sub{font-size:12px;margin-top:6px;}
  .gan-section .gan-feat-go{width:30px;}
  .gan-section .gan-cta{gap:24px;margin-top:28px;}
  .gan-section .gan-btn{height:52px;min-width:200px;padding:0 30px;font-size:16px;gap:16px;}
  .gan-section .gan-btn svg{width:20px;}
  .gan-section .gan-watch{font-size:15.5px;gap:12px;}
  .gan-section .gan-play{width:52px;}
  .gan-section .gan-scene{order:2;position:relative;top:auto;right:auto;bottom:auto;width:100%;}
  .gan-section .gan-scene-img{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 12%);mask-image:linear-gradient(180deg,transparent 0,#000 12%);}
  .gan-section .gan-wave{width:70%;}
  .gan-section .gan-sky{left:20%;width:80%;}
}
@media (max-width:760px){
  .gan-section .gan-wrap{padding:40px 20px 20px;}
  .gan-section .gan-feats{flex-direction:column;}
  .gan-section .gan-feat{flex:auto !important;}
  .gan-section .gan-feat-title br{display:none;}
  .gan-section .gan-title .gan-line{white-space:normal;}
  .gan-section .gan-label{font-size:2.6cqw;height:5.6cqw;padding:0 2cqw 0 2.6cqw;}
  .gan-section .gan-label--hub{font-size:3.2cqw;height:6.6cqw;}
}
@media (max-width:420px){
  .gan-section .gan-title{font-size:28px;}
  .gan-section .gan-btn{min-width:0;padding:0 24px;}
  .gan-section .gan-cta{gap:16px;}
}

@media (prefers-reduced-motion:reduce){
  .gan-section *,.gan-section *::before,.gan-section *::after{animation:none !important;transition:none !important;}
  .gan-section .gan-a,.gan-section .gan-scene,.gan-section .gan-label,.gan-section .gan-pin{opacity:1;transform:none;}
  .gan-section .gan-title .gan-line > span,.gan-section .gan-rule span{transform:none;}
  .gan-section .gan-route{stroke-dashoffset:0;}
  .gan-section .gan-comet{display:none;}
}
