/* YONODUNIYA.COM — premium motion + human-first UI pass, 22 Oct 2026 */
:root{
  --ydx-bg:#061913;
  --ydx-bg2:#0a2a20;
  --ydx-green:#13b981;
  --ydx-mint:#78f0bd;
  --ydx-ink:#0f201a;
  --ydx-muted:#63736d;
  --ydx-card:#ffffff;
  --ydx-line:rgba(17,126,91,.15);
  --ydx-radius:26px;
  --ydx-shadow:0 24px 70px rgba(4,39,29,.14);
}

/* Hero: readable first, motion second */
.home-hero.kb-hero{min-height:clamp(520px,72vh,760px);display:grid;align-items:center;padding:56px 0 50px;background:
 radial-gradient(circle at 78% 18%,rgba(72,255,184,.21),transparent 28%),
 radial-gradient(circle at 12% 95%,rgba(42,133,255,.12),transparent 31%),
 linear-gradient(138deg,#04150f 0%,#08291f 46%,#0b5b43 100%)!important;overflow:hidden;position:relative}
.home-hero.kb-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,black,transparent 88%)}
.kb-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:42px;align-items:center}
.kb-hero-copy{max-width:760px}.kb-trust-kicker{display:inline-flex;gap:8px;align-items:center;padding:.45rem .7rem;border:1px solid rgba(121,240,188,.28);background:rgba(255,255,255,.07);border-radius:999px;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:none!important}
.home-hero.kb-hero h1{font-size:clamp(2.35rem,5vw,5.2rem);line-height:.96;letter-spacing:-.045em;max-width:850px;margin:.7rem 0 1rem!important;text-wrap:balance}
.home-hero.kb-hero .lede{font-size:clamp(1rem,1.45vw,1.22rem);line-height:1.65;max-width:700px;color:#d8eee6!important}
.kb-search{position:relative;margin-top:24px;max-width:780px}.yd-search-label{display:block;margin-bottom:8px;font-size:.86rem;font-weight:800;color:#eefcf7!important}.kb-search input{height:62px;border-radius:18px!important;padding:0 20px!important;border:1px solid rgba(255,255,255,.6)!important;box-shadow:0 22px 60px rgba(0,0,0,.25)!important;font-size:1.02rem!important}
.kb-search-results{border-radius:18px!important;overflow:hidden!important;box-shadow:0 22px 60px rgba(0,0,0,.25)!important}.kb-intent-chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.kb-intent-chips a{border-radius:12px!important;padding:.72rem .9rem!important}

/* Hero visual reuses the old "sensor" idea without overpowering search */
.yd-hero-stage{position:relative;min-height:410px;display:grid;place-items:center;perspective:1100px;isolation:isolate}
.yd-sensor{position:absolute;width:min(330px,82vw);aspect-ratio:1;border-radius:50%;border:1px solid rgba(112,240,188,.28);background:radial-gradient(circle at center,rgba(46,207,145,.20) 0 3%,rgba(46,207,145,.04) 4% 27%,transparent 28%),repeating-radial-gradient(circle at center,transparent 0 48px,rgba(112,240,188,.11) 49px 50px);box-shadow:inset 0 0 90px rgba(33,222,151,.06),0 0 90px rgba(25,185,125,.08);animation:yd-sensor-breathe 5.5s ease-in-out infinite}
.yd-sensor:before{content:"";position:absolute;left:50%;top:50%;width:50%;height:2px;transform-origin:left center;background:linear-gradient(90deg,rgba(116,255,196,.75),transparent);animation:yd-sensor-sweep 5.8s linear infinite}
.yd-sensor-core{position:absolute;width:84px;height:84px;border-radius:26px;background:linear-gradient(145deg,#8affcf,#0ca875);box-shadow:0 18px 55px rgba(10,190,128,.35),inset 0 1px rgba(255,255,255,.7);display:grid;place-items:center;z-index:2;transform:translateZ(38px)}
.yd-sensor-core img{width:56px;height:56px;border-radius:18px}
.yd-float-card{position:absolute;width:154px;padding:10px 12px;display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.065));backdrop-filter:blur(13px);box-shadow:0 22px 50px rgba(0,0,0,.22);color:#fff;animation:yd-float-card 5.5s ease-in-out infinite;will-change:transform}
.yd-float-card img{width:46px;height:46px;border-radius:14px;object-fit:cover;box-shadow:0 7px 18px rgba(0,0,0,.23)}.yd-float-card strong{font-size:.9rem;line-height:1.15}.yd-float-card small{display:block;color:#bce5d5;margin-top:3px;font-size:.7rem}.yd-float-card:nth-of-type(1){top:4%;left:1%;animation-delay:-1s}.yd-float-card:nth-of-type(2){top:12%;right:0;animation-delay:-2.7s}.yd-float-card:nth-of-type(3){bottom:5%;left:2%;animation-delay:-3.6s}.yd-float-card:nth-of-type(4){bottom:11%;right:2%;animation-delay:-4.4s}
@keyframes yd-sensor-sweep{to{transform:rotate(360deg)}}@keyframes yd-sensor-breathe{50%{transform:scale(1.035);opacity:.91}}@keyframes yd-float-card{0%,100%{transform:translate3d(0,0,25px) rotate(-1deg)}50%{transform:translate3d(0,-12px,45px) rotate(1deg)}}

/* Discovery tiles are the first content after hero */
.yd-combined-discovery{padding-top:42px!important;background:linear-gradient(180deg,#f7fcf9,#fff)!important}.yd-combined-discovery .section-head h2{font-size:clamp(1.7rem,3vw,2.5rem);letter-spacing:-.025em}.yd-combined-card{border-radius:22px!important;padding:16px!important;position:relative;overflow:hidden}.yd-combined-card:after{content:"→";position:absolute;right:14px;bottom:11px;font-weight:900;color:rgba(8,127,91,.5);transform:translateX(-3px);transition:transform .2s ease}.yd-combined-card:hover:after{transform:translateX(2px)}.yd-combined-card img{width:58px;height:58px;object-fit:cover}.yd-combined-card em{padding-right:20px}

/* IC7-inspired interaction language, original YONODUNIYA content */
.yd-motion-guides{padding:70px 0!important;background:
 radial-gradient(circle at 12% 25%,rgba(55,255,174,.13),transparent 27%),
 radial-gradient(circle at 85% 70%,rgba(65,115,255,.10),transparent 30%),
 linear-gradient(180deg,#061813,#09281f 55%,#061913)!important}
.yd-motion-guides .section-head h2{font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.035em}.yd-guide-carousel{gap:22px!important;padding:22px 6px 36px!important}.yd-guide-slide{flex-basis:min(340px,82vw)!important;min-height:210px!important;border-radius:30px!important;padding:22px!important}.yd-guide-slide strong{font-size:1.25rem!important}.yd-guide-slide small{font-size:.86rem!important}.yd-guide-art,.yd-guide-slide img{width:84px!important;height:84px!important;border-radius:24px!important}

/* Brand-story-style explainer */
.yd-story{position:relative;overflow:hidden;background:#fff;padding:76px 0}.yd-story-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center}.yd-story-visual{position:relative;min-height:420px;border-radius:34px;background:radial-gradient(circle at 50% 45%,rgba(18,185,129,.22),transparent 33%),linear-gradient(145deg,#061a14,#0b3529);overflow:hidden;box-shadow:0 30px 80px rgba(7,48,36,.18)}.yd-story-visual:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(126,239,193,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(126,239,193,.055) 1px,transparent 1px);background-size:34px 34px}.yd-story-orbit{position:absolute;inset:50% auto auto 50%;width:260px;height:260px;transform:translate(-50%,-50%);border:1px solid rgba(128,241,197,.25);border-radius:50%;animation:yd-orbit 14s linear infinite}.yd-story-orbit:before,.yd-story-orbit:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(128,241,197,.17);inset:32px}.yd-story-orbit:after{inset:72px}.yd-story-center{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:110px;height:110px;border-radius:30px;background:linear-gradient(145deg,#ddfff1,#63e8b1);display:grid;place-items:center;box-shadow:0 24px 50px rgba(0,0,0,.3);z-index:2}.yd-story-center img{width:72px;height:72px;border-radius:22px}.yd-story-chip{position:absolute;padding:.55rem .75rem;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(10px);color:#e9fff7;font-weight:800;font-size:.77rem;box-shadow:0 12px 30px rgba(0,0,0,.2)}.yd-story-chip:nth-of-type(1){top:16%;left:10%}.yd-story-chip:nth-of-type(2){top:22%;right:7%}.yd-story-chip:nth-of-type(3){bottom:18%;left:7%}.yd-story-chip:nth-of-type(4){bottom:13%;right:11%}@keyframes yd-orbit{to{transform:translate(-50%,-50%) rotate(360deg)}}
.yd-story-copy .eyebrow{color:#087f5b}.yd-story-copy h2{font-size:clamp(2rem,4vw,3.35rem);line-height:1.05;letter-spacing:-.04em;margin:.55rem 0 1rem;text-wrap:balance}.yd-story-copy p{font-size:1.04rem;line-height:1.72;color:#50645c}.yd-story-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}

/* Big image-led guide blocks */
.yd-showcase{padding:78px 0;background:linear-gradient(180deg,#f7fbf9,#fff)}.yd-showcase-head{max-width:760px;margin-bottom:28px}.yd-showcase-head h2{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.035em}.yd-showcase-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.yd-showcase-card{position:relative;min-height:420px;padding:30px;border-radius:32px;overflow:hidden;color:#fff;text-decoration:none;background:linear-gradient(150deg,#0a211a,#0c6c50);box-shadow:0 28px 70px rgba(6,49,36,.17);isolation:isolate}.yd-showcase-card:nth-child(2){background:linear-gradient(150deg,#1c1510,#7a3d22)}.yd-showcase-card:before{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-80px;top:-60px;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 67%);z-index:-1}.yd-showcase-card:after{content:"";position:absolute;inset:auto -70px -100px auto;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(118,246,193,.18),transparent 70%);z-index:-1}.yd-showcase-art{height:205px;display:grid;place-items:center;position:relative}.yd-showcase-art img{width:122px;height:122px;border-radius:34px;object-fit:cover;box-shadow:0 30px 70px rgba(0,0,0,.38);transform:rotate(-4deg);transition:transform .35s ease}.yd-showcase-card:nth-child(2) .yd-showcase-art img{transform:rotate(4deg)}.yd-showcase-card:hover .yd-showcase-art img{transform:translateY(-8px) rotate(0deg) scale(1.03)}.yd-showcase-card h3{font-size:1.6rem;margin:.2rem 0 .5rem}.yd-showcase-card p{color:#dff5ec;line-height:1.55;margin:0}.yd-showcase-card:nth-child(2) p{color:#f1dfd5}.yd-showcase-card .yd-open{display:inline-flex;margin-top:18px;font-weight:900;color:#fff}

/* Human-first clean areas */
.yd-human-help{padding:66px 0}.yd-human-help .feature-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.yd-human-help .feature-card{border-radius:22px!important;padding:20px!important}.yd-human-help .feature-card strong{font-size:1.04rem}.yd-human-help .feature-card span{line-height:1.45}
.yd-purpose-clean{padding:62px 0;background:#fff}.yd-purpose-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.yd-purpose-card{padding:22px;border:1px solid var(--ydx-line);border-radius:22px;background:linear-gradient(145deg,#fff,#f7fcf9);box-shadow:0 12px 34px rgba(5,54,39,.065)}.yd-purpose-card strong{font-size:1.06rem;color:#075c45}.yd-purpose-card p{color:#65736e;line-height:1.55;margin:.5rem 0 0}
.yd-explain-section{background:#fff!important}.yd-explain-section .content-grid{grid-template-columns:1fr 1fr!important;gap:38px;align-items:center}.yd-explain-section .article h2{font-size:clamp(2rem,3.6vw,3rem);letter-spacing:-.035em}.yd-explain-section .article h2:not(:first-child){font-size:1.25rem;letter-spacing:-.01em;margin-top:1.45rem}.yd-explain-section .article p{line-height:1.7;color:#55675f}
.yd-explain-visual{min-height:360px;border-radius:30px;background:linear-gradient(145deg,#071c15,#0a513d);position:relative;overflow:hidden;display:grid;place-items:center}.yd-explain-visual .yd-story-orbit{width:230px;height:230px}.yd-explain-visual .yd-story-center{width:96px;height:96px;border-radius:26px}.yd-explain-visual .yd-story-center img{width:64px;height:64px}

/* Languages */
.yd-language-grid a{position:relative;overflow:hidden;border-radius:20px!important;transition:transform .2s ease,box-shadow .2s ease}.yd-language-grid a:after{content:"→";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-weight:900;color:#17835f}.yd-language-grid a:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(8,75,54,.10)!important}

/* Telegram popup */
.yd-tg-popup{border-radius:24px!important;padding:18px!important}.yd-tg-actions a{background:#229ED9!important}.yd-tg-mark{background:transparent!important}.yd-tg-mark svg{width:48px!important;height:48px!important}

/* Remove overly research-y visual chrome from the homepage only; details remain on dedicated pages */
body.home .visual-source-badge,body.home [data-icon-qa]{box-shadow:none!important}

@media(max-width:980px){.kb-hero-grid,.yd-story-grid,.yd-explain-section .content-grid{grid-template-columns:1fr!important}.yd-hero-stage{min-height:330px;margin-top:8px}.yd-showcase-grid{grid-template-columns:1fr}.yd-human-help .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yd-purpose-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.home-hero.kb-hero{padding:34px 0 32px;min-height:auto}.home-hero.kb-hero h1{font-size:clamp(2.25rem,12vw,3.5rem)}.kb-hero-grid{gap:22px}.kb-search input{height:58px;font-size:.96rem!important}.yd-hero-stage{min-height:290px}.yd-sensor{width:250px}.yd-sensor-core{width:72px;height:72px;border-radius:22px}.yd-sensor-core img{width:48px;height:48px}.yd-float-card{width:135px;padding:8px}.yd-float-card img{width:40px;height:40px}.yd-float-card small{display:none}.yd-float-card:nth-of-type(1){top:0;left:0}.yd-float-card:nth-of-type(2){top:9%;right:0}.yd-float-card:nth-of-type(3){bottom:0;left:0}.yd-float-card:nth-of-type(4){bottom:7%;right:0}.yd-story{padding:54px 0}.yd-story-visual{min-height:330px}.yd-showcase{padding:56px 0}.yd-showcase-card{min-height:360px;padding:22px}.yd-showcase-art{height:170px}.yd-human-help .feature-grid,.yd-purpose-grid{grid-template-columns:1fr}.yd-guide-slide{min-height:190px!important}}
@media(prefers-reduced-motion:reduce){.yd-sensor,.yd-sensor:before,.yd-float-card,.yd-story-orbit{animation:none!important}.yd-showcase-art img,.yd-language-grid a{transition:none!important}}
.yd-showcase-symbol{width:122px;height:122px;border-radius:34px;display:grid;place-items:center;font-size:3rem;font-weight:900;background:linear-gradient(145deg,#fff3e8,#ffb77c 58%,#b75528);color:#4a210e;box-shadow:0 30px 70px rgba(0,0,0,.38);transform:rotate(4deg);transition:transform .35s ease}.yd-showcase-card:hover .yd-showcase-symbol{transform:translateY(-8px) rotate(0deg) scale(1.03)}
@media(prefers-reduced-motion:reduce){.yd-showcase-symbol{transition:none!important}}
