/*
Theme Name: AICOCOON
Theme URI: https://aicocoon.com
Author: AICOCOON Team
Author URI: https://aicocoon.com
Description: The official AICOCOON theme — Learn AI. Transform Tomorrow. Built for full Elementor Pro editing of all pages, blog posts, courses, and media.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aicocoon
Tags: dark, education, elementor, one-column, two-columns, custom-colors, custom-logo, featured-images, full-width-template, sticky-post, threaded-comments
*/

/* ============================================================
   AICOCOON DESIGN TOKENS
   These map exactly to the original site's CSS variables.
   Elementor Global Colors are set to these same values.
   ============================================================ */
:root {
  --bg:    #060614;
  --space: #0b0b2b;
  --card:  rgba(15, 21, 53, 0.72);
  --pu:    #814ef7;
  --pul:   #a678ff;
  --pud:   #6626dc;
  --bl:    #4fc3f7;
  --pk:    #FF6B9D;
  --gr:    #6BCF7F;
  --am:    #FFD93D;
  --tx:    #f0f4ff;
  --txs:   rgba(240, 244, 255, 0.65);
  --txm:   rgba(240, 244, 255, 0.38);
  --bdr:   rgba(129, 78, 247, 0.22);
  --bdrh:  rgba(129, 78, 247, 0.55);
  --r:     18px;
  --fd:    'Space Grotesk', sans-serif;
  --fb:    'DM Sans', sans-serif;
  --fm:    'JetBrains Mono', monospace;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--fb);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--pu); border-radius: 10px; }

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.ey {
  font-family: var(--fm);
  font-size: .78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pul);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.ey::before { content: '//'; opacity: .5; }
.sttl {
  font-family: var(--fd);
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: .9rem;
}
.ssub { font-size: 1.02rem; color: var(--txs); max-width: 580px; line-height: 1.72; }
.sh { margin-bottom: 3rem; }
.sh.c { text-align: center; }
.sh.c .ey { justify-content: center; }
.sh.c .ssub { margin: 0 auto; }
.grd {
  background: linear-gradient(135deg, #fff 10%, #a678ff 60%, #4fc3f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grdp {
  background: linear-gradient(135deg, #FF6B9D, #a678ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.sec { padding: 5.5rem 0; position: relative; }
.w   { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ============================================================
   COMPONENT: CARD
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: var(--r);
  backdrop-filter: blur(12px);
  transition: border-color .3s, transform .3s, box-shadow .3s;
  overflow: hidden;
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(129,78,247,.05), transparent 60%);
  pointer-events: none;
}
.card:hover {
  border-color: var(--bdrh);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(129, 78, 247, .2);
}

/* ============================================================
   COMPONENT: BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .25s;
  cursor: pointer;
  border: none;
  font-family: var(--fb);
}
.bp {
  background: linear-gradient(135deg, #7a44ef, #6626dc);
  color: #fff;
  box-shadow: 0 4px 16px rgba(129, 78, 247, .38);
}
.bp:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(129, 78, 247, .55); }
.bo { background: transparent; color: var(--tx); border: 1px solid var(--bdrh); }
.bo:hover { background: rgba(129, 78, 247, .1); border-color: var(--pu); }

/* ============================================================
   COMPONENT: BADGES & TAGS
   ============================================================ */
.bge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--fm);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .28rem .75rem;
  border-radius: 20px;
}
.bpu { background: rgba(129,78,247,.2); color: var(--pul); border: 1px solid rgba(129,78,247,.35); }
.bbl { background: rgba(79,195,247,.15); color: #80d8ff; border: 1px solid rgba(79,195,247,.3); }
.bpk { background: rgba(255,107,157,.15); color: #FF6B9D; border: 1px solid rgba(255,107,157,.3); }
.bgr { background: rgba(107,207,127,.15); color: var(--gr); border: 1px solid rgba(107,207,127,.3); }
.bam { background: rgba(255,217,61,.15); color: var(--am); border: 1px solid rgba(255,217,61,.3); }
.tag {
  display: inline-block;
  font-size: .72rem;
  padding: .18rem .6rem;
  border-radius: 30px;
  background: rgba(79,195,247,.1);
  color: var(--bl);
  border: 1px solid rgba(79,195,247,.22);
  font-family: var(--fm);
}

/* ============================================================
   COMPONENT: STATS BAR
   ============================================================ */
.sbar {
  background: rgba(129,78,247,.06);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 2rem 0;
}
.sbar-w {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.si { text-align: center; }
.snum { font-family: var(--fd); font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--pul); }
.slbl { font-size: .8rem; color: var(--txm); margin-top: .2rem; font-family: var(--fm); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv.vis { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  background: rgba(6, 6, 20, .93);
  border-bottom: 1px solid var(--bdr);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 9000;
  box-shadow: 0 0 28px rgba(129, 78, 247, .15);
}
.hdr-w { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.hdr-c {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  gap: 1rem;
}
.logo-lnk {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .4rem .8rem;
  border-radius: 10px;
  transition: background .25s;
  flex-shrink: 0;
}
.logo-lnk:hover { background: rgba(129,78,247,.08); }
.logo-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7a44ef, #4fc3f7);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: #fff;
  font-family: var(--fd);
  box-shadow: 0 0 16px rgba(129,78,247,.5);
  flex-shrink: 0;
}
.logo-txt {
  font-size: 1.2rem; font-weight: 700;
  font-family: var(--fd); letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff, #a678ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-tag { font-size: .68rem; color: var(--txm); }
.nav { display: flex; gap: .2rem; align-items: center; }
.nav li a {
  color: var(--txs); font-size: .9rem; font-weight: 500;
  padding: .5rem .9rem; border-radius: 8px; transition: all .25s; display: block;
}
.nav li a:hover, .nav li a.on { color: #fff; background: rgba(129,78,247,.14); }
.nav li a.on { color: var(--pul); }
.cta-btn {
  background: linear-gradient(135deg, #7a44ef, #6626dc) !important;
  color: #fff !important; padding: .55rem 1.4rem !important;
  font-weight: 600 !important; border-radius: 8px !important;
  box-shadow: 0 2px 14px rgba(129,78,247,.4);
}
.cta-btn:hover { transform: translateY(-2px) !important; box-shadow: 0 6px 22px rgba(129,78,247,.55) !important; }
.ham {
  display: none; background: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; border-radius: 8px;
}
.hln { width: 24px; height: 2px; background: var(--tx); border-radius: 2px; transition: all .3s; display: block; }
.ham.on .hln:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham.on .hln:nth-child(2) { opacity: 0; }
.ham.on .hln:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO (floating logo canvas)
   ============================================================ */
#dlbg {
  position: relative !important; min-height: 100vh !important; width: 100% !important;
  overflow: hidden !important;
  background: linear-gradient(to bottom, #0b0b2b, #1b2735 70%, #090a0f) !important;
  font-family: var(--fb) !important; isolation: isolate !important; pointer-events: auto !important;
}
#dlbg * { box-sizing: border-box !important; }
#dlbg .stars {
  width: 1px !important; height: 1px !important; position: absolute !important;
  background: #fff !important;
  box-shadow: 2vw 5vh 2px #fff,10vw 8vh 2px #fff,15vw 15vh 1px #fff,22vw 22vh 1px #fff,
    28vw 12vh 2px #fff,32vw 32vh 1px #fff,38vw 18vh 2px #fff,42vw 35vh 1px #fff,
    48vw 25vh 2px #fff,53vw 42vh 1px #fff,58vw 15vh 2px #fff,63vw 38vh 1px #fff,
    68vw 28vh 2px #fff,73vw 45vh 1px #fff,78vw 32vh 2px #fff,83vw 48vh 1px #fff,
    88vw 20vh 2px #fff,93vw 52vh 1px #fff,98vw 35vh 2px #fff,5vw 60vh 1px #fff,
    12vw 65vh 2px #fff,18vw 72vh 1px #fff,25vw 78vh 2px #fff,35vw 68vh 2px #fff,
    50vw 75vh 1px #fff,65vw 72vh 2px #fff,75vw 78vh 2px #fff !important;
  pointer-events: none !important; z-index: 1 !important;
}
#dlbg .mh {
  position: absolute !important; top: 46% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important; color: #fff !important;
  font-family: var(--fd) !important; font-size: clamp(2rem,4.5vw,3.8rem) !important;
  font-weight: 700 !important; letter-spacing: -0.02em !important;
  text-align: center !important; z-index: 100 !important; opacity: 1 !important;
  transition: opacity .8s ease, transform .8s ease !important;
  pointer-events: none !important;
  text-shadow: 0 0 20px rgba(79,195,247,.7), 0 0 40px rgba(79,195,247,.5) !important;
  animation: hpulse 4s infinite alternate ease-in-out !important;
  max-width: 92% !important; padding: 0 20px !important;
}
#dlbg .mh .hfun { color: #FF6B9D !important; text-shadow: 0 0 30px rgba(255,107,157,.6), 0 0 60px rgba(255,107,157,.4) !important; }
#dlbg .mh .sub { display: block !important; font-size: clamp(1rem,2vw,1.4rem) !important; margin-top: 15px !important; color: rgba(255,255,255,.6) !important; font-weight: 400 !important; font-family: var(--fb) !important; text-shadow: none !important; }
#dlbg .mh .mbr { display: none !important; }
#dlbg .hero-ctas { display: flex !important; gap: 1rem !important; justify-content: center !important; flex-wrap: wrap !important; margin-top: 2rem !important; pointer-events: auto !important; }
#dlbg .hcta-primary { background: linear-gradient(135deg,#7a44ef,#6626dc) !important; color: #fff !important; border: none !important; padding: .85rem 2rem !important; border-radius: 12px !important; font-size: 1rem !important; font-weight: 700 !important; font-family: var(--fb) !important; cursor: pointer !important; box-shadow: 0 0 28px rgba(129,78,247,.55),0 4px 20px rgba(0,0,0,.3) !important; transition: all .3s ease !important; pointer-events: auto !important; z-index: 200 !important; position: relative !important; }
#dlbg .hcta-primary:hover { transform: translateY(-3px) scale(1.04) !important; box-shadow: 0 0 45px rgba(129,78,247,.75),0 8px 30px rgba(0,0,0,.4) !important; }
#dlbg .hcta-secondary { background: rgba(255,255,255,.07) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.25) !important; padding: .85rem 1.75rem !important; border-radius: 12px !important; font-size: 1rem !important; font-weight: 600 !important; cursor: pointer !important; backdrop-filter: blur(10px) !important; transition: all .3s ease !important; pointer-events: auto !important; z-index: 200 !important; position: relative !important; }
#dlbg .hcta-secondary:hover { background: rgba(255,255,255,.15) !important; border-color: rgba(255,255,255,.5) !important; transform: translateY(-3px) !important; }
#dlbg .lc { position: absolute !important; width: 100% !important; height: 100% !important; z-index: 50 !important; pointer-events: auto !important; }
#dlbg .logo {
  position: absolute !important; width: clamp(58px,7vw,80px) !important; height: clamp(58px,7vw,80px) !important;
  border-radius: 50% !important; background: rgba(255,255,255,.05) !important;
  backdrop-filter: blur(3px) !important; display: flex !important; align-items: center !important; justify-content: center !important;
  cursor: pointer !important; transition: all .5s ease !important;
  box-shadow: 0 0 20px rgba(0,150,255,.3) !important; border: 2px solid rgba(0,150,255,.2) !important;
  animation: lfl 12s infinite ease-in-out !important; overflow: visible !important;
  z-index: 50 !important; opacity: .6 !important; pointer-events: auto !important;
}
#dlbg .logo:hover { transform: scale(1.25) !important; box-shadow: 0 0 40px rgba(0,200,255,.6) !important; z-index: 100 !important; opacity: .95 !important; animation-play-state: paused !important; }
#dlbg .logo.clicked { animation: nshow 1s forwards ease-out, faway 3.5s 1s forwards cubic-bezier(.22,1,.36,1) !important; pointer-events: none !important; opacity: 1 !important; }
#dlbg .lc.lclk .logo { opacity: 1 !important; box-shadow: 0 0 35px rgba(0,150,255,.6) !important; }
#dlbg .ln { position: absolute !important; top: 100% !important; left: 50% !important; transform: translateX(-50%) !important; background: rgba(0,0,0,.95) !important; color: #fff !important; padding: 8px 15px !important; border-radius: 8px !important; font-size: clamp(12px,1.2vw,14px) !important; font-weight: 600 !important; white-space: nowrap !important; opacity: 0 !important; pointer-events: none !important; transition: all .3s cubic-bezier(.175,.885,.32,1.275) !important; z-index: 150 !important; border: 1px solid rgba(255,255,255,.3) !important; box-shadow: 0 8px 25px rgba(0,0,0,.5) !important; min-width: max-content !important; }
#dlbg .logo:hover .ln { opacity: 1 !important; transform: translateX(-50%) translateY(15px) !important; }
#dlbg .logo img { max-width: 65% !important; max-height: 65% !important; filter: drop-shadow(0 0 10px rgba(255,255,255,.5)) !important; pointer-events: none !important; object-fit: contain !important; transition: all .4s !important; }
#dlbg .logo:hover img { transform: scale(1.2) !important; filter: drop-shadow(0 0 15px rgba(255,255,255,.8)) !important; }
#dlbg .ctrl { position: absolute !important; bottom: 28px !important; right: 28px !important; display: flex !important; align-items: center !important; gap: 12px !important; z-index: 1000 !important; background: rgba(0,0,0,.5) !important; backdrop-filter: blur(14px) !important; border-radius: 16px !important; padding: 10px 16px !important; border: 1px solid rgba(255,255,255,.12) !important; flex-wrap: wrap !important; }
#dlbg .ctr { background: transparent !important; color: #fff !important; padding: 4px 0 !important; border: none !important; font-size: 13px !important; opacity: .8 !important; pointer-events: none !important; font-weight: 600 !important; white-space: nowrap !important; }
#dlbg .ctr span { color: #4fc3f7 !important; font-weight: bold !important; font-size: 15px !important; }
#dlbg .rbtn { background: rgba(255,255,255,.1) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.2) !important; border-radius: 8px !important; cursor: pointer !important; transition: all .3s !important; font-weight: 600 !important; font-size: 13px !important; pointer-events: auto !important; padding: 8px 16px !important; white-space: nowrap !important; }
#dlbg .rbtn:hover { background: rgba(255,255,255,.2) !important; transform: translateY(-2px) !important; }
#dlbg .ctrl-sep { width: 1px !important; height: 22px !important; background: rgba(255,255,255,.15) !important; flex-shrink: 0 !important; }
#dlbg .ctabtn { background: linear-gradient(135deg,#7a44ef,#6626dc) !important; color: #fff !important; border: none !important; border-radius: 8px !important; cursor: pointer !important; transition: all .3s !important; font-weight: 700 !important; font-size: 13px !important; pointer-events: auto !important; padding: 8px 18px !important; white-space: nowrap !important; box-shadow: 0 0 16px rgba(129,78,247,.5) !important; }
#dlbg .ctabtn:hover { transform: translateY(-2px) !important; box-shadow: 0 0 28px rgba(129,78,247,.75) !important; }

/* logo colour themes */
#dlbg .logo.python    { background: rgba(49,102,144,.25) !important; border-color: rgba(49,102,144,.6) !important; box-shadow: 0 0 25px rgba(49,102,144,.4) !important; }
#dlbg .logo.pytorch   { background: rgba(238,65,53,.25) !important; border-color: rgba(238,65,53,.6) !important; box-shadow: 0 0 25px rgba(238,65,53,.4) !important; }
#dlbg .logo.tensorflow{ background: rgba(255,152,0,.25) !important; border-color: rgba(255,152,0,.6) !important; box-shadow: 0 0 25px rgba(255,152,0,.4) !important; }
#dlbg .logo.keras     { background: rgba(210,0,0,.25) !important; border-color: rgba(210,0,0,.6) !important; box-shadow: 0 0 25px rgba(210,0,0,.4) !important; }
#dlbg .logo.scikit    { background: rgba(251,181,58,.25) !important; border-color: rgba(251,181,58,.6) !important; box-shadow: 0 0 25px rgba(251,181,58,.4) !important; }
#dlbg .logo.numpy     { background: rgba(76,175,80,.25) !important; border-color: rgba(76,175,80,.6) !important; box-shadow: 0 0 25px rgba(76,175,80,.4) !important; }
#dlbg .logo.pandas    { background: rgba(130,202,157,.25) !important; border-color: rgba(130,202,157,.6) !important; box-shadow: 0 0 25px rgba(130,202,157,.4) !important; }
#dlbg .logo.opencv    { background: rgba(93,156,236,.25) !important; border-color: rgba(93,156,236,.6) !important; box-shadow: 0 0 25px rgba(93,156,236,.4) !important; }
#dlbg .logo.jupyter   { background: rgba(240,80,40,.25) !important; border-color: rgba(240,80,40,.6) !important; box-shadow: 0 0 25px rgba(240,80,40,.4) !important; }
#dlbg .logo.docker    { background: rgba(0,150,255,.25) !important; border-color: rgba(0,150,255,.6) !important; box-shadow: 0 0 25px rgba(0,150,255,.4) !important; }
#dlbg .logo.matplotlib{ background: rgba(49,121,172,.25) !important; border-color: rgba(49,121,172,.6) !important; box-shadow: 0 0 25px rgba(49,121,172,.4) !important; }
#dlbg .logo.github    { background: rgba(20,20,30,.5) !important; border-color: rgba(200,200,200,.5) !important; box-shadow: 0 0 25px rgba(200,200,200,.2) !important; }
#dlbg .logo.raspberrypi{ background: rgba(197,26,74,.25) !important; border-color: rgba(197,26,74,.6) !important; box-shadow: 0 0 25px rgba(197,26,74,.4) !important; }
#dlbg .logo.anaconda  { background: rgba(67,176,73,.25) !important; border-color: rgba(67,176,73,.6) !important; box-shadow: 0 0 25px rgba(67,176,73,.4) !important; }
#dlbg .logo.vscode    { background: rgba(0,122,204,.25) !important; border-color: rgba(0,122,204,.6) !important; box-shadow: 0 0 25px rgba(0,122,204,.4) !important; }
#dlbg .logo.streamlit { background: rgba(255,75,75,.25) !important; border-color: rgba(255,75,75,.6) !important; box-shadow: 0 0 25px rgba(255,75,75,.4) !important; }
#dlbg .logo.mysql     { background: rgba(0,117,143,.25) !important; border-color: rgba(0,117,143,.6) !important; box-shadow: 0 0 25px rgba(0,117,143,.4) !important; }
#dlbg .logo.linux     { background: rgba(255,204,51,.25) !important; border-color: rgba(255,204,51,.6) !important; box-shadow: 0 0 25px rgba(255,204,51,.4) !important; }
#dlbg .logo.kubernetes{ background: rgba(50,108,229,.25) !important; border-color: rgba(50,108,229,.6) !important; box-shadow: 0 0 25px rgba(50,108,229,.4) !important; }
#dlbg .logo.kubeflow  { background: rgba(66,121,244,.25) !important; border-color: rgba(66,121,244,.6) !important; box-shadow: 0 0 25px rgba(66,121,244,.4) !important; }

/* ============================================================
   HERO ANIMATIONS
   ============================================================ */
@keyframes lfl {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  25%      { transform: translate(8px,-8px) rotate(.5deg); }
  50%      { transform: translate(-5px,5px) rotate(-.5deg); }
  75%      { transform: translate(-8px,-4px) rotate(.5deg); }
}
@keyframes hpulse {
  0%   { text-shadow: 0 0 20px rgba(79,195,247,.7),0 0 40px rgba(79,195,247,.5); }
  100% { text-shadow: 0 0 30px rgba(79,195,247,.9),0 0 60px rgba(79,195,247,.7),0 0 90px rgba(79,195,247,.5); }
}
@keyframes nshow {
  0%  { transform: scale(1) rotate(0); opacity: 1; }
  50% { transform: scale(1.4) rotate(5deg); opacity: 1; }
  100%{ transform: scale(1.5) rotate(0); opacity: 1; }
}
@keyframes faway {
  0%  { transform: scale(1.5) rotate(0); opacity: 1; }
  30% { transform: scale(1.1) rotate(180deg); opacity: .85; }
  60% { transform: scale(.7) rotate(360deg); opacity: .5; }
  100%{ transform: translate(var(--fly-x),var(--fly-y)) scale(.05) rotate(var(--fly-rot)); opacity: 0; }
}
@keyframes fadeIn { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform:none; } }
@keyframes liveblink {
  0%,100% { opacity:1; box-shadow:0 0 0 0 rgba(107,207,127,.5); }
  50%      { opacity:.5; box-shadow:0 0 0 5px rgba(107,207,127,0); }
}

/* ============================================================
   FEATURE ROWS (WHY SECTION)
   ============================================================ */
.feat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; padding: 4.5rem 0;
  border-bottom: 1px solid rgba(129,78,247,.1);
}
.feat-row:last-child { border-bottom: none; }
.feat-row.rev .feat-visual { order: -1; }
.feat-kicker { font-family: var(--fm); font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--pul); margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.feat-kicker::before { content: ''; width: 24px; height: 2px; background: var(--pu); border-radius: 2px; display: inline-block; }
.feat-txt h3 { font-family: var(--fd); font-size: clamp(1.35rem,2.5vw,2rem); font-weight: 700; line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 1rem; }
.feat-txt p { font-size: 1rem; color: var(--txs); line-height: 1.75; margin-bottom: 1.5rem; }
.feat-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.feat-stat { display: flex; align-items: baseline; gap: .35rem; }
.feat-stat-num { font-family: var(--fd); font-size: 2.5rem; font-weight: 800; color: var(--pul); }
.feat-stat-label { font-size: .88rem; color: var(--txm); }
.feat-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.illu {
  width: 100%; max-width: 460px; aspect-ratio: 4/3;
  border-radius: 20px; border: 1px solid var(--bdr);
  background: linear-gradient(135deg, rgba(15,21,53,.9), rgba(6,6,20,.95));
  backdrop-filter: blur(8px); overflow: hidden; position: relative;
  box-shadow: 0 24px 60px rgba(129,78,247,.2), 0 0 0 1px rgba(129,78,247,.1);
}

/* ============================================================
   NEWS TICKER
   ============================================================ */
.news-car-wrap { background: rgba(6,6,20,.95); border-top: 1px solid rgba(129,78,247,.15); border-bottom: 1px solid rgba(129,78,247,.15); padding: 0; overflow: hidden; position: relative; }
.news-car-hd { display: flex; align-items: center; gap: .55rem; padding: .5rem 1.5rem; background: rgba(129,78,247,.1); border-bottom: 1px solid rgba(129,78,247,.12); }
.news-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #6BCF7F; display: inline-block; animation: liveblink 1.4s infinite; }
.news-live-txt { font-size: .7rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: rgba(255,255,255,.45); font-family: var(--fm); }
.news-track-outer { overflow: hidden; width: 100%; }
.news-track { display: flex; gap: 0; width: max-content; animation: newsticker 60s linear infinite; }
.news-track:hover { animation-play-state: paused; }
@keyframes newsticker { 0%{transform:translateX(0);}100%{transform:translateX(-50%);} }
.news-card { flex: 0 0 310px; padding: .9rem 1.25rem; border-right: 1px solid rgba(255,255,255,.05); cursor: pointer; transition: background .2s; display: block; }
.news-card:hover { background: rgba(129,78,247,.08); }
.news-card-inner { display: flex; gap: .8rem; align-items: flex-start; }
.news-thumb { width: 54px; height: 54px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.55rem; overflow: hidden; }
.news-tag { font-size: .62rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; font-family: var(--fm); margin-bottom: .28rem; display: block; }
.news-title { font-size: .82rem; font-weight: 600; color: var(--tx); line-height: 1.42; font-family: var(--fd); }
.news-src { font-size: .68rem; color: var(--txm); margin-top: .32rem; font-family: var(--fm); }

/* ============================================================
   COURSES SECTION
   ============================================================ */
.cwrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: start; }
.ctab { padding: 1.1rem 1.4rem; border-radius: 12px; cursor: pointer; transition: all .25s; border: 1px solid transparent; margin-bottom: .5rem; }
.ctab:hover { background: rgba(129,78,247,.08); border-color: var(--bdr); }
.ctab.on { background: rgba(129,78,247,.12); border-color: var(--bdrh); }
.ctab h4 { font-family: var(--fd); font-size: .98rem; font-weight: 700; margin-bottom: .22rem; }
.ctab p { font-size: .85rem; color: var(--txs); }
.cprice { font-family: var(--fd); font-size: 3rem; font-weight: 800; color: var(--pul); }
.cprice span { font-size: 1.1rem; font-weight: 500; color: var(--txm); }
.cmod { padding: .8rem 1rem; background: rgba(255,255,255,.03); border-radius: 10px; display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .5rem; }
.cmod-ico { font-size: 1.2rem; flex-shrink: 0; }

/* ============================================================
   NEWSLETTER STRIP
   ============================================================ */
.nls { background: linear-gradient(135deg,rgba(129,78,247,.12),rgba(79,195,247,.06)); border-top: 1px solid rgba(129,78,247,.2); border-bottom: 1px solid rgba(129,78,247,.2); padding: 3rem 0; }
.nlw { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.nltx h2 { font-family: var(--fd); font-size: clamp(1.3rem,2.5vw,1.9rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: .4rem; }
.nltx p { font-size: .95rem; color: var(--txs); }
.nlf { display: flex; gap: .75rem; flex-wrap: wrap; }
.nlinp { background: rgba(255,255,255,.06); border: 1px solid var(--bdr); border-radius: 10px; color: var(--tx); font-size: .93rem; font-family: var(--fb); padding: .72rem 1.1rem; outline: none; min-width: 240px; transition: border-color .2s; }
.nlinp:focus { border-color: var(--bdrh); }
.nlinp::placeholder { color: var(--txm); }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-hero { padding: 5rem 0 3.5rem; background: linear-gradient(180deg,#0b0b2b,#060614); }
.fg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.bcrd { border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.bthumb { position: relative; min-height: 180px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#0f1535,#1b2060); overflow: hidden; }
.bthumb img, .bthumb video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.bthumb-i { font-size: 3rem; position: relative; z-index: 1; }
.bglw { position: absolute; width: 120px; height: 120px; border-radius: 50%; filter: blur(40px); opacity: .4; }
.bbody { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.bmeta { display: flex; align-items: center; gap: .65rem; margin-bottom: .85rem; flex-wrap: wrap; }
.bdate { font-size: .75rem; color: var(--txm); font-family: var(--fm); }
.bbody h3 { font-family: var(--fd); font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: .6rem; letter-spacing: -0.01em; flex: 1; }
.bbody p { font-size: .87rem; color: var(--txs); line-height: 1.68; margin-bottom: 1rem; }
.brd { font-size: .85rem; font-weight: 600; color: var(--pul); display: flex; align-items: center; gap: .35rem; margin-top: auto; cursor: pointer; transition: gap .2s; }
.brd:hover .arr { transform: translateX(4px); }
.arr { display: inline-block; transition: transform .2s; }

/* Blog filter pills */
.bpill-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.bpill { background: rgba(255,255,255,.05); border: 1px solid var(--bdr); border-radius: 20px; color: var(--txs); font-size: .82rem; padding: .4rem 1rem; cursor: pointer; transition: all .2s; font-family: var(--fm); }
.bpill.on, .bpill:hover { background: rgba(129,78,247,.15); border-color: var(--bdrh); color: var(--pul); }

/* ============================================================
   SINGLE BLOG POST
   ============================================================ */
.post-hero { padding: 4rem 0 2.5rem; background: linear-gradient(180deg,#0b0b2b,#060614); }
.post-content { max-width: 760px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.post-content h1,.post-content h2,.post-content h3 { font-family: var(--fd); color: var(--tx); line-height: 1.25; letter-spacing: -0.02em; margin: 2rem 0 1rem; }
.post-content h1 { font-size: clamp(1.8rem,3.5vw,2.8rem); }
.post-content h2 { font-size: clamp(1.4rem,2.5vw,2rem); }
.post-content h3 { font-size: clamp(1.1rem,1.8vw,1.5rem); }
.post-content p { font-size: 1.05rem; color: var(--txs); line-height: 1.85; margin-bottom: 1.5rem; }
.post-content a { color: var(--pul); text-decoration: underline; text-underline-offset: 3px; }
.post-content img, .post-content video, .post-content figure img { width: 100%; border-radius: 12px; margin: 2rem 0; border: 1px solid var(--bdr); }
.post-content figure { margin: 0; }
.post-content figcaption { font-size: .82rem; color: var(--txm); text-align: center; margin-top: .5rem; font-family: var(--fm); }
.post-content code { font-family: var(--fm); background: rgba(129,78,247,.15); color: var(--pul); padding: .15rem .45rem; border-radius: 4px; font-size: .9em; }
.post-content pre { background: #0d1025; border: 1px solid rgba(129,78,247,.25); border-radius: 12px; padding: 1.5rem; overflow-x: auto; margin: 1.5rem 0; }
.post-content pre code { background: none; color: var(--tx); padding: 0; font-size: .88rem; }
.post-content blockquote { border-left: 3px solid var(--pu); margin: 2rem 0; padding: 1rem 1.5rem; background: rgba(129,78,247,.06); border-radius: 0 12px 12px 0; }
.post-content blockquote p { margin: 0; color: var(--tx); font-style: italic; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-content li { font-size: 1.05rem; color: var(--txs); line-height: 1.75; margin-bottom: .5rem; }

/* ============================================================
   COURSES (CPT) ARCHIVE + SINGLE
   ============================================================ */
.courses-hero { padding: 5rem 0 3.5rem; background: linear-gradient(180deg,#0b0b2b,#060614); }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.75rem; }
.course-card { border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: all .3s; }
.course-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg,#0f1535,#1b2060); display: flex; align-items: center; justify-content: center; }
.course-thumb img, .course-thumb video { width: 100%; height: 100%; object-fit: cover; }
.course-thumb-emoji { font-size: 3rem; }
.course-badge { position: absolute; top: 1rem; right: 1rem; }
.course-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.course-body h3 { font-family: var(--fd); font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; letter-spacing: -0.01em; }
.course-body p { font-size: .88rem; color: var(--txs); line-height: 1.7; margin-bottom: 1rem; flex: 1; }
.course-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.course-meta span { font-family: var(--fm); font-size: .72rem; color: var(--txm); }
.course-price { font-family: var(--fd); font-size: 1.5rem; font-weight: 800; color: var(--pul); margin-bottom: 1rem; }
.course-price small { font-size: .85rem; font-weight: 400; color: var(--txm); }

/* Single course page */
.course-single { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 5rem; display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.course-sidebar { position: sticky; top: 100px; }
.course-sidebar .card { padding: 2rem; }

/* ============================================================
   TOOLS (INTERACTIVE GRID)
   ============================================================ */
.tpill-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tpill { background: rgba(255,255,255,.05); border: 1px solid var(--bdr); border-radius: 20px; color: var(--txs); font-size: .82rem; padding: .4rem 1rem; cursor: pointer; transition: all .2s; font-family: var(--fm); }
.tpill.on, .tpill:hover { background: rgba(129,78,247,.15); border-color: var(--bdrh); color: var(--pul); }
.tic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px,1fr)); gap: .85rem; }
.tic-card { background: rgba(15,21,53,.6); border: 1px solid rgba(129,78,247,.18); border-radius: 14px; padding: 1.1rem .6rem .9rem; display: flex; flex-direction: column; align-items: center; gap: .55rem; cursor: pointer; transition: all .3s; position: relative; overflow: hidden; animation: floatBob 4s ease-in-out infinite; }
.tic-card:hover { transform: translateY(-10px) scale(1.06) !important; box-shadow: 0 14px 36px rgba(0,0,0,.4); }
.tic-card img { width: 52px; height: 52px; object-fit: contain; position: relative; z-index: 1; transition: transform .3s; }
.tic-card:hover img { transform: scale(1.12); }
.tic-name { font-family: var(--fm); font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.65); letter-spacing: .4px; text-align: center; position: relative; z-index: 1; }
.tic-card:hover .tic-name { color: #fff; }
@keyframes floatBob { 0%,100%{transform:translateY(0);}50%{transform:translateY(-7px);} }
.tic-tooltip { margin-top: 1.5rem; animation: fadeSlideUp .25s ease; }
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:none;} }
.tic-tt-inner { background: rgba(12,17,45,.97); border: 1px solid rgba(129,78,247,.4); border-radius: 14px; padding: 1.15rem 1.5rem; display: flex; align-items: flex-start; gap: 1rem; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.tic-tt-name { font-family: var(--fd); font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: .35rem; }
.tic-tt-desc { color: var(--txs); font-size: .87rem; line-height: 1.68; margin-bottom: .6rem; }
.tic-tt-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tic-tt-tags span { background: rgba(129,78,247,.15); border: 1px solid rgba(129,78,247,.3); border-radius: 20px; color: #a678ff; font-size: .7rem; font-family: var(--fm); padding: .2rem .65rem; }
.tic-tt-close { position: absolute; top: .75rem; right: .85rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; color: var(--txm); cursor: pointer; font-size: .75rem; padding: .25rem .55rem; transition: all .2s; }
.tic-tt-close:hover { background: rgba(255,80,80,.18); color: #fff; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.ahg { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.aorb { width: 280px; height: 280px; border-radius: 50%; background: linear-gradient(135deg,rgba(129,78,247,.2),rgba(79,195,247,.1)); display: flex; align-items: center; justify-content: center; font-size: 6rem; border: 2px solid rgba(129,78,247,.3); box-shadow: 0 0 60px rgba(129,78,247,.2); animation: hpulse 4s infinite alternate; }
.vgd { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.vcrd { padding: 2rem; }
.vico { font-size: 2rem; margin-bottom: 1rem; }
.vcrd h3 { font-family: var(--fd); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.vcrd p { font-size: .88rem; color: var(--txs); line-height: 1.72; }

/* ============================================================
   PLAYGROUND PAGE
   ============================================================ */
.pg-hero { overflow: hidden; }
.pg-pillars { display: grid; grid-template-columns: repeat(auto-fill,minmax(285px,1fr)); gap: 1.5rem; margin-top: 1rem; }
.pg-modules { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.4rem; margin-top: 1rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero { padding: 5rem 0 3.5rem; background: linear-gradient(180deg,#0b0b2b,#060614); text-align: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3.5rem; align-items: start; margin-top: 1rem; }
.cinfo-card { padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; }
.cinfo-ico { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.cinfo-card h4 { font-family: var(--fd); font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.cinfo-card p { font-size: .88rem; color: var(--txs); line-height: 1.6; }
.cinfo-card a { color: var(--pul); transition: color .2s; }
.cinfo-card a:hover { color: #fff; }
.cf { padding: 2.5rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--bdr); }
.cf h3 { font-family: var(--fd); font-size: 1.3rem; font-weight: 700; margin-bottom: .4rem; }
.cf p { font-size: .88rem; color: var(--txs); margin-bottom: 2rem; }
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
.finp { display: flex; flex-direction: column; gap: .45rem; }
.finp label { font-size: .82rem; font-weight: 600; color: var(--txs); }
.finp input, .finp textarea, .finp select { background: rgba(255,255,255,.05); border: 1px solid var(--bdr); border-radius: 10px; color: var(--tx); font-size: .93rem; font-family: var(--fb); outline: none; transition: border-color .2s, box-shadow .2s; padding: .72rem 1rem; }
.finp input:focus, .finp textarea:focus { border-color: var(--bdrh); box-shadow: 0 0 0 3px rgba(129,78,247,.12); }
.finp textarea { resize: vertical; min-height: 130px; }
.finp input::placeholder, .finp textarea::placeholder { color: var(--txm); }
.frow { margin-bottom: 1.1rem; }
.fsub { width: 100%; justify-content: center; padding: .9rem; font-size: 1rem; margin-top: .4rem; }
.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px); background: #1a1040; border: 1px solid var(--bdrh); border-radius: 12px; padding: 1rem 1.75rem; color: #fff; font-size: .93rem; font-weight: 600; z-index: 9999; transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .4s; opacity: 0; pointer-events: none; box-shadow: 0 8px 32px rgba(129,78,247,.3); }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============================================================
   PLAYGROUND MODAL
   ============================================================ */
.pg-modal { position: fixed; inset: 0; background: rgba(0,0,0,.92); backdrop-filter: blur(8px); z-index: 10000; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .3s; }
.pg-modal.op { opacity: 1; pointer-events: auto; }
.pg-modal-bar { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; background: linear-gradient(135deg,rgba(129,78,247,.2),rgba(79,195,247,.1)); border-bottom: 1px solid rgba(129,78,247,.3); flex-shrink: 0; }
.pg-modal-title { font-family: var(--fd); font-weight: 700; font-size: 1rem; color: #fff; display: flex; align-items: center; gap: .6rem; }
.pg-modal-close { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: #fff; cursor: pointer; font-size: .85rem; padding: .4rem .9rem; font-family: var(--fm); transition: all .2s; }
.pg-modal-close:hover { background: rgba(255,80,80,.2); border-color: rgba(255,80,80,.4); }
.pg-modal iframe { flex: 1; width: 100%; border: none; }

/* ============================================================
   AI CHAT BUBBLE
   ============================================================ */
.chat-bubble { position: fixed; bottom: 1.75rem; right: 1.75rem; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg,#7a44ef,#4fc3f7); box-shadow: 0 4px 20px rgba(129,78,247,.55); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 8888; border: none; font-size: 1.5rem; transition: transform .2s, box-shadow .2s; }
.chat-bubble:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(129,78,247,.7); }
.chat-badge { position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; background: #FF6B9D; border-radius: 50%; border: 2px solid var(--bg); display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 700; color: #fff; }
.chat-panel { position: fixed; bottom: 5.5rem; right: 1.75rem; width: 360px; max-height: 520px; background: #0e1330; border: 1px solid rgba(129,78,247,.35); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.5); display: flex; flex-direction: column; z-index: 8887; opacity: 0; pointer-events: none; transform: translateY(20px) scale(.97); transition: all .3s cubic-bezier(.34,1.56,.64,1); }
.chat-panel.open { opacity: 1; pointer-events: auto; transform: none; }
.cp-hd { padding: 1rem 1.25rem; background: linear-gradient(135deg,rgba(129,78,247,.2),rgba(79,195,247,.1)); border-bottom: 1px solid rgba(129,78,247,.2); border-radius: 20px 20px 0 0; display: flex; align-items: center; justify-content: space-between; }
.cp-hd-info { display: flex; align-items: center; gap: .75rem; }
.cp-avi { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#7a44ef,#4fc3f7); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.cp-hd h4 { font-family: var(--fd); font-size: .93rem; font-weight: 700; color: #fff; }
.cp-hd p { font-size: .72rem; color: #6BCF7F; font-family: var(--fm); }
.cp-cls { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; color: var(--txm); cursor: pointer; font-size: .8rem; padding: .3rem .6rem; transition: all .2s; }
.cp-msgs { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .65rem; }
.msg { display: flex; gap: .5rem; align-items: flex-start; }
.msg.usr { flex-direction: row-reverse; }
.msg-avi { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#7a44ef,#4fc3f7); display: flex; align-items: center; justify-content: center; font-size: .8rem; flex-shrink: 0; }
.msg-bbl { max-width: 76%; padding: .6rem .9rem; border-radius: 12px; font-size: .87rem; line-height: 1.55; }
.msg.bot .msg-bbl { background: rgba(129,78,247,.15); color: var(--tx); border-radius: 4px 12px 12px 12px; }
.msg.usr .msg-bbl { background: linear-gradient(135deg,#7a44ef,#6626dc); color: #fff; border-radius: 12px 4px 12px 12px; }
.typing-dots { display: flex; gap: 4px; align-items: center; padding: 2px 0; }
.typing-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--pul); animation: tdot .6s ease-in-out infinite; }
.typing-dots span:nth-child(2){animation-delay:.2s;}.typing-dots span:nth-child(3){animation-delay:.4s;}
@keyframes tdot{0%,100%{transform:translateY(0);}50%{transform:translateY(-4px);}}
.cp-faqs { padding: .5rem 1rem; display: flex; flex-wrap: wrap; gap: .4rem; border-top: 1px solid rgba(255,255,255,.05); }
.faq-chip { background: rgba(129,78,247,.1); border: 1px solid rgba(129,78,247,.22); border-radius: 20px; color: var(--pul); font-size: .72rem; padding: .3rem .75rem; cursor: pointer; font-family: var(--fm); transition: all .2s; }
.faq-chip:hover { background: rgba(129,78,247,.22); }
.cp-inp { display: flex; gap: .5rem; padding: .75rem 1rem; border-top: 1px solid rgba(255,255,255,.07); }
.cp-inp input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid var(--bdr); border-radius: 10px; color: var(--tx); font-size: .88rem; font-family: var(--fb); padding: .55rem .85rem; outline: none; transition: border-color .2s; }
.cp-inp input:focus { border-color: var(--bdrh); }
.cp-inp button { background: linear-gradient(135deg,#7a44ef,#6626dc); border: none; border-radius: 10px; color: #fff; padding: .55rem 1rem; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.cp-inp button:hover { transform: scale(1.05); }

/* ============================================================
   PLAYGROUND CARDS & MODAL
   ============================================================ */
.pg-feat-card {
  transition: border-color .3s, box-shadow .3s;
}
.pg-feat-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
@media(max-width:700px) {
  .pg-feat-card { grid-template-columns: 1fr !important; grid-column: auto !important; }
}
.pg-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .3s;
}
.pg-card-wrap { display: contents; } /* lets grid see the card directly */

/* Modal */
.pg-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.94);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.pg-modal.op { opacity: 1; pointer-events: auto; }
.pg-modal-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.25rem;
  background: linear-gradient(135deg, rgba(129,78,247,.2), rgba(79,195,247,.1));
  border-bottom: 1px solid rgba(129,78,247,.3);
  flex-shrink: 0;
  gap: .75rem;
  flex-wrap: wrap;
}
.pg-modal-title {
  font-family: var(--fd); font-weight: 700; font-size: 1rem; color: #fff;
  display: flex; align-items: center; gap: .6rem;
}
.pg-modal-close {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px; color: #fff; cursor: pointer;
  font-size: .85rem; padding: .4rem .9rem; font-family: var(--fm);
  transition: all .2s;
}
.pg-modal-close:hover { background: rgba(255,80,80,.2); border-color: rgba(255,80,80,.4); }
.pg-modal iframe { flex: 1; width: 100%; border: none; background: var(--bg); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #030310;
  border-top: 1px solid var(--bdr);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: .88rem; color: var(--txm); line-height: 1.7; margin: .85rem 0 1.25rem; max-width: 280px; }
.footer-col h5 { font-family: var(--fd); font-size: .85rem; font-weight: 700; color: var(--tx); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a { font-size: .85rem; color: var(--txm); transition: color .2s; }
.footer-col ul li a:hover { color: var(--pul); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: .82rem; color: var(--txm); }

/* ============================================================
   WORDPRESS BLOCK EDITOR ALIGNMENT
   ============================================================ */
.wp-block-image { margin: 2rem 0; }
.wp-block-image img { border-radius: 12px; border: 1px solid var(--bdr); }
.wp-block-video { margin: 2rem 0; }
.wp-block-video video { border-radius: 12px; width: 100%; }
.wp-block-embed { margin: 2rem 0; }
.wp-block-embed iframe { border-radius: 12px; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }

/* ============================================================
   ELEMENTOR OVERRIDES
   (ensure Elementor sections inherit the dark bg)
   ============================================================ */
.elementor-section, .e-con { background-color: transparent; }
.elementor-widget-wrap { color: var(--tx); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:1024px) {
  .fg{grid-template-columns:1fr 1fr;}
  .cwrap{grid-template-columns:1fr;}
  .ahg{grid-template-columns:1fr;}
  .aorb{max-width:200px;}
  .vgd{grid-template-columns:1fr 1fr;}
  .feat-row{grid-template-columns:1fr;}
  .feat-row .bthumb{min-height:190px;}
  .sbar-w{grid-template-columns:repeat(2,1fr);}
  .course-single{grid-template-columns:1fr;}
  .course-sidebar{position:static;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:768px) {
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:rgba(6,6,20,.98);flex-direction:column;padding:1rem;gap:0;border-top:1px solid var(--bdr);box-shadow:0 8px 30px rgba(0,0,0,.5);z-index:8999;}
  .nav.on{display:flex;}
  .nav li a{width:100%;text-align:center;padding:1rem;}
  .ham{display:flex;}
  .hdr-c{position:relative;}
  .fg{grid-template-columns:1fr;gap:1.75rem;}
  .nlw{flex-direction:column;text-align:center;}
  .nlinp{width:100%;}
  .vgd{grid-template-columns:1fr;}
  .sec{padding:4rem 0;}
  #dlbg .mh .mbr{display:block!important;}
  .contact-grid{grid-template-columns:1fr;}
  .fg2{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .chat-panel{width:calc(100vw - 2rem);right:1rem;}
}
@media(max-width:600px) {
  .sbar-w{grid-template-columns:1fr 1fr;}
  .news-card{flex:0 0 250px;padding:.75rem .9rem;}
  .tic-grid{grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:.7rem;}
  .tic-card{padding:.9rem .5rem .75rem;}
  .tic-card img{width:38px;height:38px;}
  #dlbg .ctrl{right:12px!important;bottom:16px!important;padding:8px 12px!important;gap:8px!important;}
}
