:root{
  --primary:#4A90E2;
  --primary-2:#2C6BB8;
  --primary-soft:#E8F1FC;
  --accent:#4ECDC4;
  --accent-2:#2FA59C;
  --accent-soft:#E2F7F5;
  --ink:#0C1420;
  --ink-2:#1F2A3D;
  --muted:#5B6A80;
  --muted-2:#8A97AC;
  --line:#E7EAF0;
  --line-2:#D6DCE6;
  --bg:#FAFBFD;
  --bg-2:#F3F5F9;
  --white:#fff;
  --red:#E25555;
  --green:#3BAF6A;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--bg);
  color:var(--ink);
  font-size:15px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
::selection{background:var(--primary);color:#fff}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* ================= NAV ================= */
.nav-wrap{
  position:fixed;top:16px;left:50%;transform:translateX(-50%);
  width:calc(100% - 40px);max-width:1200px;
  z-index:100;
}
.nav{
  background:rgba(255,255,255,0.78);
  backdrop-filter:blur(22px) saturate(1.4);
  -webkit-backdrop-filter:blur(22px) saturate(1.4);
  border:1px solid rgba(14,20,32,0.06);
  border-radius:100px;
  padding:10px 12px 10px 24px;
  display:flex;align-items:center;justify-content:space-between;
  box-shadow:0 10px 40px -20px rgba(14,20,32,0.2), 0 1px 0 rgba(255,255,255,0.8) inset;
}
.brand{display:flex;align-items:center;gap:12px;font-weight:600;font-size:16px;letter-spacing:-0.01em}
.brand-mark{
  width:32px;height:32px;border-radius:9px;
  background:#fff;
  display:grid;place-items:center;
  overflow:hidden;
  box-shadow:0 4px 12px -4px rgba(74,144,226,0.5);
}
.brand-mark img{width:100%;height:100%;object-fit:contain}
.nav-links{display:flex;gap:32px;list-style:none;font-size:14px;font-weight:500}
.nav-links a{color:var(--ink-2);transition:color .2s}
.nav-links a:hover{color:var(--primary)}
.nav-cta{
  background:var(--ink);color:#fff;padding:9px 18px;border-radius:100px;
  font-size:13.5px;font-weight:500;
  display:inline-flex;align-items:center;gap:6px;
  transition:all .25s;
}
.nav-cta:hover{background:var(--primary);transform:translateY(-1px)}

/* ================= HERO ================= */
.hero{
  position:relative;
  padding:clamp(80px, 9vh, 130px) 24px clamp(16px, 2vh, 50px);
  overflow:hidden;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero-bg{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(1000px 600px at 10% -10%, rgba(74,144,226,0.12), transparent 60%),
    radial-gradient(800px 500px at 90% 0%, rgba(78,205,196,0.12), transparent 60%);
}
.hero-grid-bg{
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(14,20,32,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,20,32,0.035) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}
.hero-inner{
  position:relative;z-index:2;
  max-width:1200px;margin:0 auto;
  text-align:center;
}
h1.headline{
  font-family:'Instrument Serif', serif;
  font-weight:400;
  font-size:clamp(34px, min(5vw, 6.5vh), 92px);
  line-height:0.96;
  letter-spacing:-0.035em;
  color:var(--ink);
  margin-bottom:clamp(8px, 1vh, 18px);
}
h1.headline em{
  font-style:italic;
  background:linear-gradient(135deg,var(--primary) 0%, var(--accent-2) 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-sub{
  font-size:clamp(13px, 1.2vw, 17px);
  line-height:1.5;color:var(--muted);
  max-width:600px;margin:0 auto clamp(14px, 1.8vh, 30px);
}
.hero-ctas{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:clamp(14px, 2vh, 40px)}
.btn{
  padding:clamp(10px, 1.4vh, 14px) 22px;border-radius:100px;
  font-size:14px;font-weight:500;
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid transparent;
  transition:all .25s cubic-bezier(.2,.8,.2,1);
  cursor:pointer;
}
.btn-primary{background:var(--ink);color:#fff}
.btn-primary:hover{background:var(--primary);transform:translateY(-2px);box-shadow:0 12px 30px -10px rgba(74,144,226,0.5)}
.btn-ghost{background:var(--white);border-color:var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:var(--ink);transform:translateY(-2px)}
.btn .arr{transition:transform .25s}
.btn:hover .arr{transform:translateX(3px)}
.pill-dot{
  width:6px;height:6px;border-radius:50%;background:var(--green);
  box-shadow:0 0 0 3px rgba(59,175,106,0.2);
  animation:pulse 2s infinite;
}
@keyframes pulse{50%{box-shadow:0 0 0 5px rgba(59,175,106,0.08)}}

/* ============== HERO CAROUSEL ============== */
.hero-carousel{
  position:relative;
  max-width:1720px;
  margin:0 auto;
  height:clamp(360px, 50vh, 560px);
  perspective:2400px;
  padding:20px 0 10px;
  overflow:visible;
}
.hc-track{
  position:absolute;inset:0;
  transform-style:preserve-3d;
}
.hc-slide{
  position:absolute;
  left:50%;top:20px;
  width:1680px;max-width:96%;
  height:calc(100% - 40px);
  transform-origin:center center;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  transition:transform .9s cubic-bezier(.2,.8,.2,1), box-shadow .7s ease, filter .7s ease;
  backface-visibility:hidden;
  will-change:transform,filter;
  cursor:pointer;
}

/* center (front) */
.hero-carousel[data-active="0"] .hc-slide[data-slide="0"],
.hero-carousel[data-active="1"] .hc-slide[data-slide="1"],
.hero-carousel[data-active="2"] .hc-slide[data-slide="2"],
.hero-carousel[data-active="3"] .hc-slide[data-slide="3"]{
  transform:translate(-50%, 0) scale(1) rotateY(0deg);
  z-index:10;
  box-shadow:
    0 80px 140px -40px rgba(14,20,32,0.4),
    0 40px 80px -30px rgba(14,20,32,0.22),
    0 0 0 1px rgba(14,20,32,0.05);
  cursor:default;
}

/* right */
.hero-carousel[data-active="0"] .hc-slide[data-slide="1"],
.hero-carousel[data-active="1"] .hc-slide[data-slide="2"],
.hero-carousel[data-active="2"] .hc-slide[data-slide="3"],
.hero-carousel[data-active="3"] .hc-slide[data-slide="0"]{
  transform:translate(calc(-50% + 420px), 0) scale(0.85);
  z-index:3;
  box-shadow:0 30px 60px -20px rgba(14,20,32,0.5);
}

/* left */
.hero-carousel[data-active="0"] .hc-slide[data-slide="3"],
.hero-carousel[data-active="1"] .hc-slide[data-slide="0"],
.hero-carousel[data-active="2"] .hc-slide[data-slide="1"],
.hero-carousel[data-active="3"] .hc-slide[data-slide="2"]{
  transform:translate(calc(-50% - 420px), 0) scale(0.85);
  z-index:2;
  box-shadow:0 30px 60px -20px rgba(14,20,32,0.5);
}

/* back (hidden behind center) */
.hero-carousel[data-active="0"] .hc-slide[data-slide="2"],
.hero-carousel[data-active="1"] .hc-slide[data-slide="3"],
.hero-carousel[data-active="2"] .hc-slide[data-slide="0"],
.hero-carousel[data-active="3"] .hc-slide[data-slide="1"]{
  transform:translate(-50%, 0) scale(0.7);
  z-index:1;
  box-shadow:0 20px 40px -20px rgba(14,20,32,0.5);
}

.hc-dim{
  position:absolute;
  inset:0;
  z-index:100;
  pointer-events:none;
  background:linear-gradient(180deg, #1A2332 0%, #0A0E18 100%);
  opacity:0;
  transition:opacity .7s ease;
  border-radius:20px;
}
/* side & back slides are dimmed; the centered slide stays clear */
.hc-slide .hc-dim{opacity:0.94}
.hc-slide:hover .hc-dim{opacity:0.55}
.hero-carousel[data-active="0"] .hc-slide[data-slide="0"] .hc-dim,
.hero-carousel[data-active="1"] .hc-slide[data-slide="1"] .hc-dim,
.hero-carousel[data-active="2"] .hc-slide[data-slide="2"] .hc-dim,
.hero-carousel[data-active="3"] .hc-slide[data-slide="3"] .hc-dim{
  opacity:0;
}

.hc-dim-label{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  font-family:'Instrument Serif',serif;
  font-style:italic;
  font-size:36px;
  color:rgba(255,255,255,0.85);
  letter-spacing:-0.02em;
  text-align:center;
  line-height:1.1;
  white-space:nowrap;
  opacity:0;
  transition:opacity .5s ease .2s;
}
.hc-dim-label small{
  display:block;
  font-family:'JetBrains Mono',monospace;
  font-size:10px;
  font-style:normal;
  letter-spacing:0.15em;
  color:rgba(78,205,196,0.9);
  margin-top:10px;
  font-weight:500;
}
.hc-slide .hc-dim-label{opacity:1}
.hc-slide:hover .hc-dim-label{opacity:0}
.hero-carousel[data-active="0"] .hc-slide[data-slide="0"] .hc-dim-label,
.hero-carousel[data-active="1"] .hc-slide[data-slide="1"] .hc-dim-label,
.hero-carousel[data-active="2"] .hc-slide[data-slide="2"] .hc-dim-label,
.hero-carousel[data-active="3"] .hc-slide[data-slide="3"] .hc-dim-label{
  opacity:0;
}

/* Chrome shared */
.hc-chrome{
  height:46px;padding:0 18px;display:flex;align-items:center;gap:14px;
  background:linear-gradient(180deg,var(--bg-2) 0%, #EDF0F5 100%);
  border-bottom:1px solid var(--line);
}
.hc-chrome.dark{
  background:linear-gradient(180deg,#0C1420 0%,#070C14 100%);
  border-bottom-color:rgba(255,255,255,0.08);
}
.hc-dots{display:flex;gap:7px}
.hc-dots span{width:11px;height:11px;border-radius:50%;box-shadow:inset 0 1px 1px rgba(0,0,0,0.1)}
.hc-dots span:nth-child(1){background:#FF5F57}
.hc-dots span:nth-child(2){background:#FFBD2E}
.hc-dots span:nth-child(3){background:#27C93F}
.hc-chrome.dark .hc-dots span{filter:brightness(0.92)}
.hc-url{
  flex:1;background:var(--white);border:1px solid var(--line);border-radius:8px;
  padding:7px 12px;font-size:12px;font-family:'JetBrains Mono',monospace;
  color:var(--ink-2);display:flex;align-items:center;gap:8px;
  max-width:520px;margin:0 auto;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;
}
.hc-url em{flex-shrink:1;overflow:hidden;text-overflow:ellipsis;min-width:0}
.hc-url em{color:var(--muted);font-style:normal}
.hc-url-lock{font-size:10px;opacity:0.6}
.hc-url.dark{background:#1A2332;border-color:rgba(255,255,255,0.1);color:#fff}
.hc-url.dark em{color:rgba(255,255,255,0.55)}
.hc-chrome-actions{display:flex;gap:6px;align-items:center}
.hc-chrome-actions span{width:14px;height:2px;background:var(--muted-2);border-radius:2px;display:block;opacity:0.6}
.hc-chrome.dark .hc-chrome-actions span{background:rgba(255,255,255,0.4)}

.hc-body{
  height:calc(100% - 46px);
  display:grid;grid-template-columns:220px 1fr;
  position:relative;
}

/* === SLIDE 0: MaariFx === */
.mx-body{
  background:linear-gradient(180deg,#fff 0%, #FAFBFD 100%);
  position:relative;
  grid-template-columns:1fr !important;
}
.mx-app{
  position:relative;
  height:100%;
  display:flex;
  flex-direction:column;
  padding:14px 20px 16px;
}
.mx-topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:4px 0 10px;border-bottom:1px solid var(--line);
}
.mx-back{
  width:32px;height:32px;border-radius:50%;
  background:#F3F5F9;display:grid;place-items:center;
  color:#5B6A80;font-size:16px;font-weight:600;
}
.mx-brand-mini{display:flex;align-items:center;gap:8px}
.mx-brand-logo{
  width:28px;height:28px;border-radius:8px;
  background:#fff;
  display:grid;place-items:center;
  overflow:hidden;
  box-shadow:0 2px 6px -1px rgba(74,144,226,0.4);
}
.mx-brand-logo img{width:100%;height:100%;object-fit:contain}
.mx-brand-name{font-size:13px;font-weight:700;letter-spacing:-0.01em;color:var(--ink)}
.mx-brand-name em{font-style:italic;color:var(--primary);font-weight:600}
.mx-help{
  width:32px;height:32px;border-radius:50%;
  background:linear-gradient(135deg,#4A90E2,#2C6BB8);
  display:grid;place-items:center;color:#fff;
  font-weight:700;font-size:14px;
  box-shadow:0 4px 10px -3px rgba(74,144,226,0.5);
}

.mx-photo{
  position:relative;
  margin:6px auto 0;
  width:min(95%, 580px);
  background:linear-gradient(135deg, #FFF8E8 0%, #FAEAC4 50%, #F0D89C 100%);
  border-radius:6px;
  padding:10px 18px 12px;
  box-shadow:
    0 12px 28px -10px rgba(80,55,20,0.32),
    0 3px 8px -3px rgba(80,55,20,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.4);
  transform:rotate(-0.5deg);
  overflow:hidden;
  flex-shrink:0;
}
.mx-photo::before{
  content:'';position:absolute;inset:0;
  background:
    radial-gradient(ellipse 70% 60% at 25% 20%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 90%, rgba(80,55,20,0.12), transparent 60%);
  pointer-events:none;border-radius:6px;
}
.mx-photo-tape{
  position:absolute;top:-5px;width:42px;height:14px;
  background:rgba(255,235,180,0.8);
  border:1px solid rgba(220,200,150,0.6);border-radius:1px;
  box-shadow:0 2px 4px rgba(80,55,20,0.15);z-index:3;
}
.mx-photo-tape-l{left:18%;transform:rotate(-3deg)}
.mx-photo-tape-r{right:18%;transform:rotate(2deg)}

.mx-photo-paper{
  position:relative;z-index:2;
  font-family:Georgia,'Times New Roman',serif;
  color:#3A2C1F;
  display:grid;
  grid-template-columns:1fr 200px;
  gap:14px;
  align-items:start;
}
.mx-photo-num{
  font-family:Georgia,'Times New Roman',serif;
  font-weight:700;font-size:13px;
  color:#1A2F5C;margin-right:3px;
}
.mx-photo-q{
  font-size:12.5px;line-height:1.5;color:#2A1F12;
  grid-column:1;
  align-self:start;
}
.mx-hl{
  position:relative;
  background:linear-gradient(180deg, transparent 50%, rgba(255,235,80,0.7) 50%);
  padding:0 2px;font-weight:600;border-radius:1px;
}
.mx-hl::after{
  content:'';position:absolute;left:0;right:0;bottom:-2px;
  height:2px;background:#E74C3C;border-radius:1px;
  transform-origin:left;transform:scaleX(0);
  animation:mx-uline-draw 0.5s ease-out forwards;
}
.mx-hl-1::after{animation-delay:0.6s}
.mx-hl-2::after{animation-delay:1.0s}
.mx-hl-3::after{animation-delay:1.4s}
.mx-hl-4::after{animation-delay:1.8s}
@keyframes mx-uline-draw{to{transform:scaleX(1)}}

.mx-uline{
  position:relative;display:inline;
  font-style:italic;color:#1A2F5C;font-weight:600;
}
.mx-uline::after{
  content:'';position:absolute;left:0;right:0;bottom:-2px;
  height:1.6px;background:#2FA59C;
  transform-origin:left;transform:scaleX(0);
  animation:mx-uline-draw 0.6s ease-out forwards 2.4s;
}

.mx-photo-fig{
  width:200px;
  height:108px;
  grid-column:2;
  align-self:start;
  margin-top:2px;
}
.mx-photo-fig svg{width:100%;height:100%;overflow:visible}

.ai-mark{animation-fill-mode:forwards}
.am-AB{stroke-dasharray:80;stroke-dashoffset:80;animation:nb-draw-stroke 0.6s ease-out forwards 0.8s}
.am-BC{stroke-dasharray:140;stroke-dashoffset:140;animation:nb-draw-stroke 0.6s ease-out forwards 1.2s}
.am-90{stroke-dasharray:90;stroke-dashoffset:90;animation:nb-draw-stroke 0.5s ease-out forwards 1.7s}
.am-D{stroke-dasharray:80;stroke-dashoffset:80;animation:nb-draw-stroke 0.5s ease-out forwards 2.6s}
.am-arrow{stroke-dasharray:50;stroke-dashoffset:50;animation:nb-draw-stroke 0.4s ease-out forwards 3.1s}
.am-label{
  opacity:0;
  animation:nb-write-in 0.35s cubic-bezier(.4,0,.2,1) forwards 3.4s;
}

.mx-photo-options{
  grid-column:1 / -1;
  display:flex;flex-wrap:wrap;gap:5px 22px;
  font-size:12px;color:#2A1F12;font-weight:500;
  padding-top:5px;margin-top:4px;
  border-top:1px dashed rgba(80,55,20,0.2);
}
.mx-photo-options span{display:inline-flex;align-items:center;gap:4px}
.mx-photo-options b{color:#1A2F5C;font-weight:700}
.mx-photo-handnote{
  position:absolute;bottom:6px;right:14px;
  font-family:'Caveat',cursive;
  font-size:17px;color:#E74C3C;font-weight:700;
  transform:rotate(-6deg);z-index:4;
  text-shadow:0 1px 0 rgba(255,255,255,0.5);
  opacity:0;
  animation:nb-write-in 0.4s cubic-bezier(.4,0,.2,1) forwards 4.0s;
}
.mx-photo-corner{
  position:absolute;width:12px;height:12px;
  border:2px solid rgba(78,205,196,0.6);z-index:5;
  filter:drop-shadow(0 0 4px rgba(78,205,196,0.4));
  opacity:0;animation:mx-corner-in 0.5s ease forwards 0.3s;
}
@keyframes mx-corner-in{to{opacity:1}}
.mx-photo-corner.tl{top:6px;left:6px;border-right:0;border-bottom:0}
.mx-photo-corner.tr{top:6px;right:6px;border-left:0;border-bottom:0}
.mx-photo-corner.bl{bottom:6px;left:6px;border-right:0;border-top:0}
.mx-photo-corner.br{bottom:6px;right:6px;border-left:0;border-top:0}

.mx-notebook{
  flex:1;
  margin-top:8px;
  background:
    linear-gradient(90deg, transparent 32px, rgba(231,76,60,0.35) 32px, rgba(231,76,60,0.35) 33px, transparent 33px),
    repeating-linear-gradient(180deg,
      #FAFCFF 0px,
      #FAFCFF 22px,
      rgba(74,144,226,0.26) 22px,
      rgba(74,144,226,0.26) 23px
    );
  background-color:#FAFCFF;
  border:1px solid var(--line);
  border-radius:10px;
  position:relative;
  overflow:hidden;
  box-shadow:
    0 6px 20px -8px rgba(14,20,32,0.12),
    inset 0 0 0 1px rgba(255,255,255,0.5);
  display:flex;flex-direction:column;
  min-height:0;
}
.mx-notebook::before{
  content:'';
  position:absolute;left:12px;top:24%;
  width:7px;height:7px;border-radius:50%;
  background:#fff;
  box-shadow:
    0 50px 0 #fff,
    0 100px 0 #fff,
    inset 0 1px 2px rgba(0,0,0,0.15);
  z-index:2;
}
.mx-notebook-header{
  display:flex;align-items:center;gap:8px;
  padding:6px 14px 6px 44px;
  background:linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  border-bottom:1px dashed rgba(74,144,226,0.2);
  position:relative;z-index:3;
}
.mx-pencil{
  width:18px;height:18px;
  background:linear-gradient(135deg,#FFD700 0%,#FFA500 100%);
  clip-path:polygon(0 30%, 70% 30%, 70% 0, 100% 50%, 70% 100%, 70% 70%, 0 70%);
  filter:drop-shadow(0 2px 3px rgba(0,0,0,0.15));
  animation:mx-pencil-wobble 1.5s ease-in-out infinite;
  transform-origin:center;
}
@keyframes mx-pencil-wobble{
  0%,100%{transform:rotate(-8deg) translateY(0)}
  50%{transform:rotate(6deg) translateY(-2px)}
}
.mx-notebook-label{
  font-family:'Caveat',cursive;
  font-size:16px;font-weight:700;color:#1A2F5C;
  flex:1;
}
.mx-notebook-label em{color:var(--primary);font-style:italic}
.mx-notebook-typing{display:flex;gap:3px}
.mx-notebook-typing span{
  width:5px;height:5px;border-radius:50%;
  background:var(--accent-2);
  animation:mx-typing 1.3s infinite;
}
.mx-notebook-typing span:nth-child(2){animation-delay:0.15s}
.mx-notebook-typing span:nth-child(3){animation-delay:0.3s}
@keyframes mx-typing{0%,60%,100%{opacity:0.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}

.mx-notebook-svg{
  width:100%;
  flex:1 1 0;
  min-height:0;
  height:100%;
  position:relative;z-index:1;
  padding:4px 12px 6px 44px;
  box-sizing:border-box;
  display:block;
}

.nb-draw{
  animation-fill-mode:forwards;
}
@keyframes nb-draw-stroke{to{stroke-dashoffset:0}}

.nb-tri-1{stroke-dasharray:130;stroke-dashoffset:130;animation:nb-draw-stroke 0.6s ease-out forwards 4.6s}
.nb-tri-2{stroke-dasharray:140;stroke-dashoffset:140;animation:nb-draw-stroke 0.5s ease-out forwards 5.1s}
.nb-tri-3{stroke-dasharray:200;stroke-dashoffset:200;animation:nb-draw-stroke 0.7s ease-out forwards 5.5s}
.nb-tri-ra{stroke-dasharray:32;stroke-dashoffset:32;animation:nb-draw-stroke 0.3s ease-out forwards 6.1s}
.nb-D-dot{opacity:0;transform-origin:115px 110px;animation:nb-pop 0.4s cubic-bezier(.34,1.6,.64,1) forwards 9.0s}
@keyframes nb-pop{
  0%{opacity:0;transform:scale(0.3)}
  60%{opacity:1;transform:scale(1.4)}
  100%{opacity:1;transform:scale(1)}
}
.nb-BD{stroke-dasharray:120;stroke-dashoffset:120;animation:nb-draw-stroke 0.5s ease-out forwards 9.3s}

.nb-write{
  opacity:0;
  animation-fill-mode:forwards;
  animation-name:nb-write-in;
  animation-duration:0.35s;
  animation-timing-function:cubic-bezier(.4,0,.2,1);
}
@keyframes nb-write-in{
  from{opacity:0;transform:translateY(2px) scale(0.9)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.nb-A{animation-delay:5.3s}
.nb-B{animation-delay:5.0s}
.nb-C{animation-delay:5.9s}
.nb-12{animation-delay:6.4s}
.nb-16{animation-delay:6.7s}
.nb-D{animation-delay:9.1s}

.nb-w1{animation-delay:6.9s}
.nb-uline-1{stroke-dasharray:55;stroke-dashoffset:55;animation:nb-draw-stroke 0.4s ease-out forwards 7.4s}
.nb-w2{animation-delay:7.7s}
.nb-w3{animation-delay:8.4s}
.nb-w4{animation-delay:9.7s}
.nb-circle{stroke-dasharray:420;stroke-dashoffset:420;animation:nb-draw-stroke 0.7s ease-out forwards 10.1s}
.nb-arrow{stroke-dasharray:130;stroke-dashoffset:130;animation:nb-draw-stroke 0.5s ease-out forwards 10.7s}

.nb-hint{animation-delay:11.2s}
.nb-hint2{animation-delay:11.5s}
.nb-fw1{animation-delay:12.0s}
.nb-final-box{stroke-dasharray:460;stroke-dashoffset:460;animation:nb-draw-stroke 0.7s ease-out forwards 12.6s}
.nb-final-text{animation-delay:13.1s}
.nb-final-u1{stroke-dasharray:160;stroke-dashoffset:160;animation:nb-draw-stroke 0.4s ease-out forwards 13.5s}

.mx-replay .nb-draw,
.mx-replay .nb-write,
.mx-replay .ai-mark,
.mx-replay .mx-photo-corner,
.mx-replay .mx-photo-handnote,
.mx-replay .mx-hl::after,
.mx-replay .mx-uline::after,
.mx-replay .pnb-d,
.mx-replay .pnb-w,
.mx-replay .pv-ai-mark,
.mx-replay .pv-mx-hl::after,
.mx-replay .pv-mx-uline::after{
  animation:none !important;
}

/* === SLIDE 1: Library === */
.lib-body{background:#fff}
.lib-body .lib-side{
  background:#fff;border-right:1px solid #E7EAF0;padding:14px 12px;
  display:flex;flex-direction:column;gap:6px;
}
.lib-side-brand{display:flex;gap:9px;align-items:center;padding:6px 4px 14px;border-bottom:1px solid #E7EAF0;margin-bottom:6px}
.lib-side-icon{
  width:34px;height:34px;
  flex:0 0 34px;
  border-radius:8px;
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
  box-shadow:0 4px 10px -3px rgba(26,68,128,0.5);
}
.lib-side-icon img{
  display:block;
  width:100%;height:100%;
  max-width:100%;max-height:100%;
  object-fit:contain;
  padding:3px;
}
.lib-side-brand>div{line-height:1.15;flex:1 1 auto;min-width:0;overflow:hidden}
.lib-side-brand em{font-family:'Inter',sans-serif;font-style:normal;font-size:11px;color:#0C1420;display:block;font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lib-side-brand small{font-size:9px;color:#5B6A80;display:block;font-weight:500;letter-spacing:0.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lib-side-group{display:flex;flex-direction:column;gap:2px;flex:1}
.lib-body .lib-side-item{
  padding:9px 12px;border-radius:7px;font-size:12.5px;color:#1F2A3D;
  display:flex;align-items:center;gap:9px;font-weight:500;
}
.lib-side-emoji{
  width:20px;height:20px;display:grid;place-items:center;
  font-size:13px;line-height:1;flex-shrink:0;
  filter:grayscale(0.15);
}
.lib-body .lib-side-item.active{
  background:#E8F1FC;color:#2C6BB8;font-weight:700;
}
.lib-body .lib-side-item.active .lib-side-emoji{filter:none}
.lib-side-foot{padding-top:10px;border-top:1px solid #E7EAF0}

.lib-body .lib-main{padding:14px 22px 14px;display:flex;flex-direction:column;gap:10px;overflow:hidden;background:#F5FAFF}
.lib-header{
  display:flex;align-items:center;gap:12px;
  padding:8px 0 14px;
  border-bottom:1px solid #E7EAF0;
  margin:0 -22px 6px;
  padding-left:22px;padding-right:22px;
  background:#fff;
}
.lib-header-title{
  font-size:13px;font-weight:700;color:#0C1420;
  display:flex;align-items:center;gap:9px;
  white-space:nowrap;flex-shrink:0;
}
.lib-header-title-mark{
  width:24px;height:24px;border-radius:6px;
  background:#fff;
  display:grid;place-items:center;
  overflow:hidden;
  box-shadow:0 2px 6px -1px rgba(26,68,128,0.4);
}
.lib-header-title-mark img{width:100%;height:100%;object-fit:cover}
.lib-header-search{
  flex:1;background:#F3F5F9;border:1px solid #E7EAF0;border-radius:7px;
  padding:7px 12px;display:flex;align-items:center;gap:8px;font-size:11.5px;color:#8A97AC;
  max-width:380px;min-width:0;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.lib-header-user{
  display:flex;align-items:center;gap:8px;margin-left:auto;
  font-size:11px;color:#0C1420;font-weight:600;
  white-space:nowrap;flex-shrink:0;
}
.lib-header-user::before{
  content:'A';width:24px;height:24px;border-radius:50%;
  background:#4A90E2;color:#fff;display:grid;place-items:center;
  font-size:11px;font-weight:700;
}

.lib-detail{
  background:#fff;border:1px solid #E7EAF0;border-radius:11px;
  padding:18px;display:grid;grid-template-columns:120px 1fr;
  gap:18px;flex:1;position:relative;
  box-shadow:0 1px 3px rgba(14,20,32,0.04);
}
.lib-detail-cover{
  background:linear-gradient(135deg,#1A4480 0%,#2C6BB8 60%,#3B7DD8 100%);
  border-radius:8px;position:relative;overflow:hidden;
  display:flex;flex-direction:column;justify-content:space-between;
  padding:14px 12px;
  box-shadow:0 6px 16px -4px rgba(26,68,128,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  aspect-ratio:2/3;align-self:start;
}
.lib-detail-cover::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:5px;
  background:linear-gradient(90deg, rgba(0,0,0,0.25), transparent);
}
.lib-detail-cover::after{
  content:'';position:absolute;left:5px;top:8px;bottom:8px;width:1.5px;
  background:linear-gradient(180deg,rgba(255,255,255,0.4),transparent 70%);
  border-radius:2px;
}
.lib-cover-corner{
  font-family:'JetBrains Mono',monospace;font-size:8px;
  color:rgba(255,255,255,0.55);letter-spacing:0.1em;font-weight:600;
  text-align:right;
}
.lib-cover-title{
  font-family:'Instrument Serif',serif;
  font-size:13px;line-height:1.15;color:#fff;font-weight:500;
  text-align:center;letter-spacing:-0.005em;padding:0 4px;
}
.lib-cover-rule{height:1px;background:rgba(255,255,255,0.35);margin:6px auto;width:50%}
.lib-cover-author{
  font-family:'Inter',sans-serif;font-size:8.5px;
  color:rgba(255,255,255,0.75);text-align:center;font-style:italic;letter-spacing:0.02em;
}
.lib-cover-bottom{
  display:flex;align-items:center;justify-content:center;gap:6px;
  font-family:'JetBrains Mono',monospace;font-size:7.5px;
  color:rgba(255,255,255,0.5);letter-spacing:0.1em;font-weight:600;
}
.lib-cover-bottom::before,.lib-cover-bottom::after{
  content:'';width:8px;height:1px;background:rgba(255,255,255,0.3);
}
.lib-detail-warn{
  position:absolute;top:10px;left:10px;
  width:20px;height:20px;border-radius:50%;
  background:#E74C3C;color:#fff;display:grid;place-items:center;
  font-size:10px;font-weight:700;
  box-shadow:0 4px 10px -2px rgba(231,76,60,0.5);
  z-index:3;
}
.lib-detail-warn::before{content:'!';font-family:Georgia,serif;font-style:italic}
.lib-detail-tip{
  position:absolute;bottom:14px;right:14px;
  background:#0C1420;color:#fff;
  font-size:9.5px;padding:5px 9px;border-radius:5px;
  font-weight:500;letter-spacing:0.01em;z-index:4;
  max-width:200px;
}
.lib-detail-info{display:flex;flex-direction:column;gap:8px;min-width:0}
.lib-detail-title{
  font-size:18px;font-weight:700;color:#2C6BB8;
  line-height:1.15;margin-top:6px;
}
.lib-detail-sub{
  font-family:'Instrument Serif',serif;font-style:italic;
  font-size:13px;color:#5B6A80;margin-bottom:6px;
}
.lib-detail-meta{
  display:flex;gap:20px;font-size:11px;color:#1F2A3D;flex-wrap:wrap;padding-bottom:6px;
}
.lib-detail-meta span b{font-weight:700;color:#0C1420}
.lib-detail-meta span:last-child b{color:#2FA59C}
.lib-detail-desc{font-size:11px;color:#1F2A3D;line-height:1.5;margin-bottom:6px}
.lib-detail-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto}
.lib-btn{
  font-size:11px;padding:8px 12px;border-radius:7px;
  display:inline-flex;align-items:center;gap:6px;
  color:#fff;font-weight:600;letter-spacing:-0.005em;
  border:none;cursor:pointer;
}
.lib-btn-icon{
  width:13px;height:13px;border-radius:2px;
  background:rgba(255,255,255,0.25);display:inline-block;flex-shrink:0;
}
.lib-btn.qr{background:#4A90E2}
.lib-btn.assign{background:#F39C12}
.lib-btn.extend{background:#3498DB}
.lib-btn.return{background:#E74C3C}
.lib-btn.outline{background:#fff;color:#2C6BB8;border:1px solid #4A90E2}
.lib-btn.outline .lib-btn-icon{background:#4A90E2;opacity:0.85}

/* === SLIDE 2: Akıllı Tahta === */
.board-body{
  position:relative;
  background:linear-gradient(135deg,#0F1B4C 0%,#08102E 60%,#0A1430 100%);
  overflow:hidden;
  grid-template-columns:1fr !important;
}
.board-grid{
  position:absolute;inset:0;
  background-image:radial-gradient(circle, rgba(255,255,255,0.05) 1.2px, transparent 1.6px);
  background-size:24px 24px;background-position:0 0;
}
.board-body::before{
  content:'';position:absolute;inset:0;
  background:
    radial-gradient(900px 600px at 50% 30%, rgba(74,144,226,0.15) 0%, transparent 60%),
    radial-gradient(500px 400px at 90% 80%, rgba(78,205,196,0.06) 0%, transparent 60%);
  pointer-events:none;
}

.board-card{
  position:absolute;top:50%;left:50%;
  transform:translate(-58%,-50%);
  width:min(490px, 70%);
  background:linear-gradient(180deg, #1B2A6F 0%, #14205A 100%);
  border-radius:20px;
  border:1px solid rgba(120,150,210,0.2);
  padding:24px 26px 28px;
  box-shadow:
    0 50px 100px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.08);
  z-index:5;
}
.bc-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.bc-logo{
  width:42px;height:42px;border-radius:10px;
  background:#fff;
  display:grid;place-items:center;flex-shrink:0;
  overflow:hidden;
  box-shadow:0 4px 10px -3px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(26,47,140,0.08);
}
.bc-logo img{width:100%;height:100%;object-fit:contain;padding:4px}
.bc-title-block{flex:1;line-height:1.25}
.bc-title{font-size:16px;font-weight:700;color:#fff;letter-spacing:-0.005em}
.bc-sub{font-size:11px;color:rgba(255,255,255,0.55);margin-top:2px;font-weight:400}

.bc-qr-area{
  background:#fff;border-radius:14px;padding:18px;margin-bottom:14px;
  position:relative;display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 30px -8px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(0,0,0,0.04);
}
.bc-qr{width:130px;height:130px;position:relative}
.bc-qr-svg{
  position:absolute;inset:0;
  width:100%;height:100%;
  display:block;
}
.bc-qr-pin{
  position:absolute;bottom:-32px;left:0;right:0;text-align:center;
  font-family:'JetBrains Mono',monospace;font-size:11px;
  color:rgba(26,47,140,0.45);letter-spacing:0.08em;font-weight:600;
}
.bc-pin-timer{
  text-align:center;font-size:11.5px;color:rgba(255,255,255,0.7);
  margin-bottom:14px;font-weight:500;
}
.bc-pin-timer b{color:#fff;font-family:'JetBrains Mono',monospace;font-weight:700}
.bc-pin-dots{
  display:flex;justify-content:center;gap:10px;
  background:rgba(255,255,255,0.06);
  border-radius:8px;padding:11px;margin-bottom:14px;
}
.bc-pin-dots span{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,0.35)}
.bc-unlock{
  display:block;margin:0 auto;
  background:linear-gradient(180deg, #5DC3F5 0%, #4AAEE0 100%);
  color:#0C1420;font-weight:700;font-size:13px;letter-spacing:0.08em;
  text-transform:uppercase;padding:11px 32px;border-radius:100px;
  border:none;cursor:pointer;
  box-shadow:0 8px 22px -4px rgba(93,195,245,0.5), inset 0 1px 0 rgba(255,255,255,0.4);
}

.board-status{
  position:absolute;top:50%;right:6%;
  transform:translateY(-30%);
  width:170px;
  background:#0F1B4A;
  border:1px solid rgba(120,150,210,0.15);
  border-radius:11px;padding:14px;z-index:6;
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.5);
}
.bs-header{
  display:flex;align-items:center;gap:8px;
  padding-bottom:10px;margin-bottom:10px;
  border-bottom:1px solid rgba(120,150,210,0.12);
}
.bs-logo{
  width:24px;height:24px;border-radius:6px;
  background:#fff;display:grid;place-items:center;flex-shrink:0;
  overflow:hidden;
}
.bs-logo img{width:100%;height:100%;object-fit:contain;padding:2px}
.bs-name{font-size:9.5px;color:#fff;font-weight:700;line-height:1.25}
.bs-row{margin-bottom:8px}
.bs-row:last-child{margin-bottom:0}
.bs-label{
  font-size:8.5px;color:rgba(255,255,255,0.4);
  letter-spacing:0.1em;text-transform:uppercase;
  font-weight:600;font-family:'JetBrains Mono',monospace;
  margin-bottom:2px;
}
.bs-val{font-size:13px;color:#fff;font-weight:700;letter-spacing:-0.005em}
.bs-val.time{font-family:'JetBrains Mono',monospace;font-size:15px}
.bs-val.online{color:#3BAF6A}
.bs-val.online::before{
  content:'';display:inline-block;
  width:6px;height:6px;border-radius:50%;
  background:#3BAF6A;box-shadow:0 0 8px #3BAF6A;
  margin-right:6px;vertical-align:1px;
}
.bs-val.usb{color:#5DC3F5}

@media (max-width: 900px){
  .hero{min-height:auto;padding:96px 24px 40px}
  .hero-carousel{height:460px;max-width:100%;margin-top:32px;padding:20px 0 20px}
  .hc-slide{height:calc(100% - 40px);max-width:94%;top:20px}
  .hc-body{grid-template-columns:1fr}
  .mx-body .mx-side,.lib-body .lib-side{display:none}
  /* right */
  .hero-carousel[data-active="0"] .hc-slide[data-slide="1"],
  .hero-carousel[data-active="1"] .hc-slide[data-slide="2"],
  .hero-carousel[data-active="2"] .hc-slide[data-slide="3"],
  .hero-carousel[data-active="3"] .hc-slide[data-slide="0"]{
    transform:translate(calc(-50% + 140px),26px) scale(0.8) rotateY(-20deg);
  }
  /* left */
  .hero-carousel[data-active="0"] .hc-slide[data-slide="3"],
  .hero-carousel[data-active="1"] .hc-slide[data-slide="0"],
  .hero-carousel[data-active="2"] .hc-slide[data-slide="1"],
  .hero-carousel[data-active="3"] .hc-slide[data-slide="2"]{
    transform:translate(calc(-50% - 140px),26px) scale(0.8) rotateY(20deg);
  }
  /* back */
  .hero-carousel[data-active="0"] .hc-slide[data-slide="2"],
  .hero-carousel[data-active="1"] .hc-slide[data-slide="3"],
  .hero-carousel[data-active="2"] .hc-slide[data-slide="0"],
  .hero-carousel[data-active="3"] .hc-slide[data-slide="1"]{
    transform:translate(-50%,30px) scale(0.66);
  }
}

/* ============== LOGO STRIP ============== */
.logo-strip{
  padding:60px 24px 40px;
  border-top:1px solid var(--line);
  background:var(--white);
  margin-top:60px;
}
.logo-strip-wrap{max-width:1200px;margin:0 auto}
.logo-strip-label{
  text-align:center;font-size:12px;font-family:'JetBrains Mono',monospace;
  letter-spacing:0.1em;text-transform:uppercase;color:var(--muted);margin-bottom:28px;
}
.logo-strip-grid{
  display:flex;justify-content:center;align-items:center;gap:60px;flex-wrap:wrap;
  opacity:0.9;
}
.logo-strip-item{
  display:flex;align-items:center;gap:10px;
  color:var(--muted);font-size:15px;font-weight:500;
  transition:color .2s;
}
.logo-strip-item:hover{color:var(--ink)}
.logo-strip-item .seal{
  width:44px;height:44px;border-radius:50%;
  background:#fff;border:1.5px solid var(--line-2);
  display:grid;place-items:center;
  overflow:hidden;
  flex-shrink:0;
}
.logo-strip-item .seal img{
  width:100%;height:100%;object-fit:contain;padding:4px;
}

/* =============== SECTION BASE =============== */
section{position:relative}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
.sec-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:40px;margin-bottom:56px;flex-wrap:wrap;
}
.sec-label{
  font-family:'JetBrains Mono',monospace;
  font-size:12px;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;
  color:var(--primary);margin-bottom:18px;
  display:flex;align-items:center;gap:10px;
}
.sec-label::before{content:'';width:20px;height:1px;background:var(--primary)}
h2.sec-title{
  font-family:'Instrument Serif',serif;
  font-weight:400;
  font-size:clamp(40px,5.5vw,68px);
  line-height:1.02;letter-spacing:-0.03em;
  max-width:720px;
}
h2.sec-title em{font-style:italic;color:var(--primary)}
.sec-head p{color:var(--muted);font-size:16px;line-height:1.6;max-width:360px}

/* ============== PRODUCTS ============== */
.products{padding:120px 0 140px}
.product-list{display:flex;flex-direction:column;gap:20px}

.product{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:0;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  transition:all .4s cubic-bezier(.2,.8,.2,1);
  position:relative;
  min-height:380px;
}
.product:hover{
  transform:translateY(-4px);
  box-shadow:0 30px 60px -30px rgba(14,20,32,0.18);
  border-color:var(--line-2);
}
.product-info{padding:44px 44px 44px;display:flex;flex-direction:column;justify-content:space-between}
.product-meta{
  display:flex;gap:10px;align-items:center;
  font-family:'JetBrains Mono',monospace;
  font-size:11px;letter-spacing:0.08em;text-transform:uppercase;
  color:var(--muted);margin-bottom:20px;
}
.product-meta .pill-sm{padding:3px 8px;border-radius:4px;font-weight:600}
.pill-sm.live{background:var(--accent-soft);color:var(--accent-2)}
.pill-sm.new{background:var(--primary-soft);color:var(--primary-2)}
.pill-sm.soon{background:#FFF3E0;color:#D17F25}
.product-info h3{
  font-family:'Instrument Serif',serif;
  font-weight:400;
  font-size:42px;
  line-height:1.02;letter-spacing:-0.025em;
  margin-bottom:14px;color:var(--ink);
}
.product-info h3 em{font-style:italic;color:var(--primary)}
.product-info > p{
  color:var(--muted);font-size:15.5px;line-height:1.6;max-width:440px;
  margin-bottom:24px;
}
.product-features{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:28px}
.feat{
  padding:5px 10px;border:1px solid var(--line);border-radius:6px;
  font-size:12px;color:var(--ink-2);background:var(--white);
}
.product-link{
  display:inline-flex;align-items:center;gap:6px;
  font-size:14px;font-weight:500;color:var(--ink);
  padding-bottom:4px;border-bottom:1px solid var(--ink);
  width:fit-content;transition:gap .25s, color .25s, border-color .25s;
}
.product:hover .product-link{gap:10px;color:var(--primary);border-bottom-color:var(--primary)}

.product-visual{
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  padding:32px;
}

/* === Product MaariFx === */
.pv-maarifx{
  background:linear-gradient(135deg,#0C1420 0%, #1F2A3D 100%);
  color:#fff;padding:24px;overflow:hidden;position:relative;
}
.pv-maarifx::before{
  content:'';position:absolute;inset:0;
  background:
    radial-gradient(500px 400px at 100% 0%, rgba(78,205,196,0.18), transparent 60%),
    radial-gradient(400px 300px at 0% 100%, rgba(74,144,226,0.15), transparent 60%);
  pointer-events:none;
}
.pv-mx-window{
  width:min(440px, 100%);
  background:#fff;border-radius:12px;overflow:hidden;
  color:var(--ink);
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  position:relative;z-index:2;
}
.pv-mx-chrome{
  height:30px;background:linear-gradient(180deg,#F3F5F9,#EDF0F5);
  display:flex;align-items:center;gap:6px;padding:0 12px;
  border-bottom:1px solid #E7EAF0;
}
.pv-mx-chrome > div{display:flex;gap:5px}
.pv-mx-chrome > div span{width:8px;height:8px;border-radius:50%}
.pv-mx-chrome > div span:nth-child(1){background:#FF5F57}
.pv-mx-chrome > div span:nth-child(2){background:#FFBD2E}
.pv-mx-chrome > div span:nth-child(3){background:#27C93F}
.pv-mx-url{
  flex:1;margin-left:8px;
  background:#fff;border:1px solid #E7EAF0;border-radius:5px;
  font-family:'JetBrains Mono',monospace;font-size:9.5px;color:var(--muted);
  padding:3px 8px;text-align:center;
}
.pv-mx-content{padding:12px 14px}
.pv-mx-topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:2px 0 9px;border-bottom:1px solid var(--line);margin-bottom:10px;
}
.pv-mx-back{
  width:26px;height:26px;border-radius:50%;
  background:#F3F5F9;color:var(--muted);
  display:grid;place-items:center;font-size:13px;font-weight:600;
}
.pv-mx-brand{display:flex;align-items:center;gap:7px}
.pv-mx-brand-logo{
  width:24px;height:24px;border-radius:7px;
  background:#fff;display:grid;place-items:center;
  overflow:hidden;
  box-shadow:0 2px 6px -1px rgba(74,144,226,0.4);
}
.pv-mx-brand-logo img{width:100%;height:100%;object-fit:contain}
.pv-mx-brand-name{font-size:11.5px;font-weight:700;color:var(--ink)}
.pv-mx-brand-name em{color:var(--primary);font-style:italic}
.pv-mx-help{
  width:26px;height:26px;border-radius:50%;
  background:linear-gradient(135deg,#4A90E2,#2C6BB8);
  color:#fff;display:grid;place-items:center;font-weight:700;font-size:12px;
}

/* === Product MaariFx — photo + notebook === */
.pv-mx-photo{
  position:relative;
  background:linear-gradient(135deg, #FFF8E8 0%, #FAEAC4 50%, #F0D89C 100%);
  border-radius:5px;
  padding:9px 12px 9px;margin-bottom:8px;
  box-shadow:0 6px 14px -4px rgba(80,55,20,0.2);
  transform:rotate(-0.4deg);overflow:hidden;
  display:grid;
  grid-template-columns:1fr 130px;
  grid-template-rows:auto auto;
  gap:6px 10px;
}
.pv-mx-photo::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse 70% 60% at 25% 20%, rgba(255,255,255,0.4), transparent 60%);
  pointer-events:none;
}
.pv-mx-photo-num{
  font-family:Georgia,serif;font-weight:700;font-size:11px;
  color:#1A2F5C;margin-right:3px;
}
.pv-mx-photo-q{
  font-family:Georgia,serif;font-size:9.5px;line-height:1.45;color:#2A1F12;
  position:relative;z-index:2;grid-column:1;grid-row:1;
}
.pv-mx-photo-q b{color:#1A2F5C;font-weight:700}
.pv-mx-hl{
  position:relative;
  background:linear-gradient(180deg, transparent 50%, rgba(255,235,80,0.65) 50%);
  padding:0 1.5px;font-weight:600;
}
.pv-mx-hl::after{
  content:'';position:absolute;left:0;right:0;bottom:-1.5px;
  height:1.5px;background:#E74C3C;border-radius:1px;
  transform-origin:left;transform:scaleX(0);
  animation:mx-uline-draw 0.5s ease-out forwards;
}
.pv-hl-1::after{animation-delay:0.5s}
.pv-hl-2::after{animation-delay:0.9s}
.pv-hl-3::after{animation-delay:1.3s}
.pv-hl-4::after{animation-delay:1.6s}
.pv-mx-uline{
  position:relative;display:inline;
  font-style:italic;color:#1A2F5C;font-weight:600;
}
.pv-mx-uline::after{
  content:'';position:absolute;left:0;right:0;bottom:-1.5px;
  height:1.4px;background:#2FA59C;
  transform-origin:left;transform:scaleX(0);
  animation:mx-uline-draw 0.5s ease-out forwards 2.0s;
}

.pv-mx-photo-fig{
  width:130px;height:75px;
  position:relative;z-index:2;
  grid-column:2;grid-row:1 / span 2;align-self:start;
}
.pv-mx-photo-fig svg{width:100%;height:100%;overflow:visible}

.pv-mx-photo-options{
  grid-column:1;grid-row:2;
  display:flex;flex-wrap:wrap;gap:4px 14px;
  font-family:Georgia,serif;font-size:9.5px;color:#2A1F12;font-weight:500;
  padding-top:5px;
  border-top:1px dashed rgba(80,55,20,0.2);
  position:relative;z-index:2;
}
.pv-mx-photo-options span{display:inline-flex;align-items:center;gap:3px}
.pv-mx-photo-options b{color:#1A2F5C;font-weight:700}

.pv-ai-mark{animation-fill-mode:forwards}
.pv-am-AB{stroke-dasharray:75;stroke-dashoffset:75;animation:nb-draw-stroke 0.5s ease-out forwards 0.7s}
.pv-am-BC{stroke-dasharray:145;stroke-dashoffset:145;animation:nb-draw-stroke 0.5s ease-out forwards 1.0s}
.pv-am-90{stroke-dasharray:72;stroke-dashoffset:72;animation:nb-draw-stroke 0.4s ease-out forwards 1.4s}
.pv-am-D{stroke-dasharray:65;stroke-dashoffset:65;animation:nb-draw-stroke 0.4s ease-out forwards 2.2s}
.pv-am-arrow{stroke-dasharray:50;stroke-dashoffset:50;animation:nb-draw-stroke 0.4s ease-out forwards 2.6s}
.pv-am-label{
  opacity:0;
  animation:nb-write-in 0.35s cubic-bezier(.4,0,.2,1) forwards 2.9s;
}

.pv-mx-notebook{
  background:
    linear-gradient(90deg, transparent 22px, rgba(231,76,60,0.3) 22px, rgba(231,76,60,0.3) 23px, transparent 23px),
    repeating-linear-gradient(180deg,
      #FAFCFF 0px, #FAFCFF 16px,
      rgba(74,144,226,0.22) 16px, rgba(74,144,226,0.22) 17px
    );
  background-color:#FAFCFF;
  border:1px solid var(--line);
  border-radius:7px;
  padding:6px 8px 8px 30px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.5);
}
.pv-mx-nb-header{
  display:flex;align-items:center;gap:6px;
  font-family:'Caveat',cursive;
  font-size:13px;font-weight:700;color:#1A2F5C;
  padding-bottom:5px;
  border-bottom:1px dashed rgba(74,144,226,0.18);
  margin-bottom:5px;margin-left:-22px;padding-left:22px;
}
.pv-mx-nb-header em{color:var(--primary);font-style:italic}
.pv-mx-pencil{
  width:14px;height:14px;
  background:linear-gradient(135deg,#FFD700 0%,#FFA500 100%);
  clip-path:polygon(0 30%, 70% 30%, 70% 0, 100% 50%, 70% 100%, 70% 70%, 0 70%);
  filter:drop-shadow(0 1px 2px rgba(0,0,0,0.15));
  animation:mx-pencil-wobble 1.5s ease-in-out infinite;
  transform-origin:center;
}
.pv-mx-nb-svg{width:100%;height:auto;display:block}

.pnb-d{animation-fill-mode:forwards}
.pd1{stroke-dasharray:80;stroke-dashoffset:80;animation:nb-draw-stroke 0.6s ease-out forwards 3.5s}
.pd2{stroke-dasharray:90;stroke-dashoffset:90;animation:nb-draw-stroke 0.5s ease-out forwards 4.0s}
.pd3{stroke-dasharray:120;stroke-dashoffset:120;animation:nb-draw-stroke 0.7s ease-out forwards 4.5s}
.pd4{stroke-dasharray:25;stroke-dashoffset:25;animation:nb-draw-stroke 0.4s ease-out forwards 5.0s}
.pd-D{opacity:0;transform-origin:75px 90px;animation:nb-pop 0.4s cubic-bezier(.34,1.6,.64,1) forwards 7.0s}
.pd-BD{stroke-dasharray:80;stroke-dashoffset:80;animation:nb-draw-stroke 0.5s ease-out forwards 7.3s}
.pd-circle{stroke-dasharray:330;stroke-dashoffset:330;animation:nb-draw-stroke 0.6s ease-out forwards 8.4s}
.pd-box{stroke-dasharray:330;stroke-dashoffset:330;animation:nb-draw-stroke 0.6s ease-out forwards 10.0s}

.pnb-w{
  opacity:0;
  animation:nb-write-in 0.35s cubic-bezier(.4,0,.2,1) forwards;
}
.pw-A{animation-delay:4.2s}
.pw-B{animation-delay:3.9s}
.pw-C{animation-delay:4.7s}
.pw-12{animation-delay:5.3s}
.pw-16{animation-delay:5.6s}
.pw-D{animation-delay:7.1s}
.pw-1{animation-delay:6.0s}
.pw-2{animation-delay:6.6s}
.pw-3{animation-delay:7.8s}
.pw-4{animation-delay:9.2s}
.pw-final{animation-delay:10.5s}

/* === Product Library === */
.pv-lib{
  background:linear-gradient(135deg,#FAF3E8 0%, #F5E6C8 100%);
  padding:24px;
}
.lib-app{
  width:min(460px, 100%);background:#fff;border-radius:12px;overflow:hidden;
  box-shadow:0 30px 60px -25px rgba(139,69,19,0.3), 0 0 0 1px rgba(0,0,0,0.04);
  transform:perspective(1200px) rotateY(-4deg) rotateX(2deg);
  border:1px solid #E8DAB8;
}
.lib-app-chrome{
  background:#F5EEDE;padding:10px 14px;display:flex;align-items:center;gap:8px;
  border-bottom:1px solid #E8DAB8;
}
.lib-app-chrome>span{
  width:10px;height:10px;border-radius:50%;background:#E8DAB8;flex-shrink:0;
}
.lib-app-chrome>span:nth-child(1){background:#e74c3c;opacity:0.7}
.lib-app-chrome>span:nth-child(2){background:#f39c12;opacity:0.7}
.lib-app-chrome>span:nth-child(3){background:#27ae60;opacity:0.7}
.lib-app-url{
  flex:1;background:#fff;border-radius:4px;padding:4px 10px;font-size:10px;
  color:var(--muted);font-family:'JetBrains Mono',monospace;
  border:1px solid #E8DAB8;margin-left:6px;
}
.lib-app-body{display:grid;grid-template-columns:120px 1fr;min-height:280px}

/* === Product Akıllı Tahta === */
.pv-akt{
  background:linear-gradient(135deg,#0F1B4C 0%,#08102E 60%,#0A1430 100%);
  color:#fff;position:relative;
  padding:30px 24px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.pv-akt::before{
  content:'';position:absolute;inset:0;
  background-image:radial-gradient(circle, rgba(255,255,255,0.05) 1.2px, transparent 1.6px);
  background-size:22px 22px;pointer-events:none;
}
.pv-akt::after{
  content:'';position:absolute;inset:0;
  background:
    radial-gradient(700px 500px at 50% 30%, rgba(74,144,226,0.18) 0%, transparent 60%),
    radial-gradient(400px 300px at 90% 80%, rgba(78,205,196,0.08) 0%, transparent 60%);
  pointer-events:none;
}

/* === Product MaarifLim === */
.pv-mlim{background:linear-gradient(135deg,#F4ECF7 0%, #E8D8F0 100%);padding:30px 24px;overflow:hidden;justify-content:center;align-items:center;position:relative}

.mlim-paper{
  position:absolute;top:24px;left:24px;
  width:230px;
  background:#FFFCF0;
  border-radius:6px;
  padding:14px 16px 18px;
  box-shadow:0 18px 36px -10px rgba(107,76,143,0.35), 0 2px 4px rgba(0,0,0,0.06);
  transform:rotate(-5deg);
  z-index:1;
  background-image:
    repeating-linear-gradient(180deg, transparent 0, transparent 17px, rgba(107,76,143,0.08) 17px, rgba(107,76,143,0.08) 18px);
  background-position:0 14px;
}
.mlim-paper-head{
  display:flex;justify-content:space-between;align-items:center;
  padding-bottom:7px;margin-bottom:10px;
  border-bottom:1.5px solid rgba(107,76,143,0.2);
  font-family:'Inter',sans-serif;font-size:9px;
  color:#6B4C8F;letter-spacing:0.04em;font-weight:700;
}
.mlim-paper-name{
  font-family:'Caveat',cursive;font-size:14px;
  color:#3F2A5C;font-weight:600;
  margin-bottom:4px;line-height:1.4;
}
.mlim-paper-q{
  font-family:'Inter',sans-serif;font-size:9px;
  color:#5B6A80;line-height:1.5;font-style:italic;
  margin-bottom:8px;padding-bottom:6px;
  border-bottom:1px dashed rgba(107,76,143,0.2);
}
.mlim-paper-handwriting{
  font-family:'Caveat',cursive;
  font-size:13px;line-height:1.45;
  color:#1A2F5C;font-weight:500;
}
.mlim-paper-handwriting p{margin-bottom:3px}
.mlim-paper-handwriting .underline{
  text-decoration:underline;text-decoration-color:rgba(26,47,92,0.5);
  text-underline-offset:3px;
}
.mlim-paper-mark{
  position:absolute;
  font-family:'Caveat',cursive;
  font-size:13px;font-weight:700;
  color:#E74C3C;
}
.mlim-paper-mark.tick{font-size:18px}
.mlim-paper-mark.t1{top:84px;right:8px}
.mlim-paper-mark.t2{top:118px;right:8px}
.mlim-paper-mark.t3{top:156px;right:8px;color:#D17F25}

.mlim-card{
  width:min(310px, 100%);
  background:#fff;border-radius:14px;padding:0;
  box-shadow:0 30px 60px -20px rgba(107,76,143,0.4), 0 0 0 1px rgba(107,76,143,0.08);
  position:relative;z-index:3;overflow:hidden;
  margin-left:120px;
}
.mlim-card-header{
  background:linear-gradient(135deg,#7B5CA0 0%,#6B4C8F 100%);
  padding:11px 14px;
  display:flex;align-items:center;gap:9px;
  color:#fff;
}
.mlim-card-logo{
  width:26px;height:26px;border-radius:7px;
  background:#fff;
  display:grid;place-items:center;
  overflow:hidden;
  flex-shrink:0;
}
.mlim-card-logo img{width:100%;height:100%;object-fit:contain}
.mlim-card-title{flex:1;line-height:1.2}
.mlim-card-name{font-size:11.5px;font-weight:700;letter-spacing:-0.005em}
.mlim-card-sub{
  font-family:'JetBrains Mono',monospace;font-size:9px;
  color:rgba(255,255,255,0.65);letter-spacing:0.05em;font-weight:500;margin-top:1px;
}
.mlim-card-status{
  font-family:'JetBrains Mono',monospace;font-size:8.5px;
  color:rgba(255,255,255,0.85);letter-spacing:0.08em;font-weight:600;
  display:flex;align-items:center;gap:5px;
}
.mlim-card-status::before{
  content:'';width:6px;height:6px;border-radius:50%;
  background:#7DECC4;box-shadow:0 0 8px #7DECC4;
}

.mlim-card-body{padding:14px 16px 14px}
.mlim-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}
.mlim-top>div:first-child{display:flex;flex-direction:column;flex:1;min-width:0}
.mlim-top-label{
  font-size:9px;font-family:'JetBrains Mono',monospace;
  color:var(--muted);letter-spacing:0.08em;
  text-transform:uppercase;font-weight:600;
}
.mlim-top-name{font-size:13px;color:var(--ink);margin-top:3px;font-weight:600}
.mlim-score{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}
.mlim-score-num{
  font-family:'Instrument Serif',serif;font-size:34px;
  color:#6B4C8F;font-style:italic;line-height:1;font-weight:500;
}
.mlim-score-num em{color:var(--muted-2);font-size:18px;font-weight:400}
.mlim-score-label{
  font-size:8.5px;font-family:'JetBrains Mono',monospace;
  color:var(--muted);letter-spacing:0.08em;font-weight:600;margin-top:2px;
}

.mlim-bar{
  height:8px;background:#F0E8F5;border-radius:100px;overflow:hidden;
  margin-bottom:6px;position:relative;
}
.mlim-bar-fill{
  height:100%;
  background:linear-gradient(90deg, #E74C3C 0%, #F39C12 35%, #6B4C8F 65%, #4ECDC4 100%);
  border-radius:100px;position:relative;
}
.mlim-bar-fill::after{
  content:'';position:absolute;right:-3px;top:50%;
  width:14px;height:14px;border-radius:50%;
  background:#fff;border:2.5px solid #6B4C8F;
  transform:translateY(-50%);
  box-shadow:0 2px 6px rgba(107,76,143,0.4);
}
.mlim-bar-legend{
  display:flex;justify-content:space-between;margin-bottom:14px;
  font-size:9.5px;color:var(--muted);font-family:'JetBrains Mono',monospace;
  font-weight:500;
}
.mlim-bar-legend span:last-child{color:var(--accent-2);font-weight:700}

.mlim-q{
  font-size:11px;color:var(--ink);margin-bottom:10px;line-height:1.45;font-weight:500;
  padding-bottom:8px;border-bottom:1px dashed var(--line);
}
.mlim-q b{font-weight:700}

.mlim-feedback-title{
  font-size:9px;font-family:'JetBrains Mono',monospace;
  color:var(--muted);letter-spacing:0.06em;
  text-transform:uppercase;font-weight:700;margin-bottom:6px;
}
.mlim-feedback{display:flex;gap:5px;flex-direction:column;margin-bottom:10px}
.mlim-fb-row{display:flex;gap:8px;align-items:flex-start;font-size:10.5px;line-height:1.4}
.mlim-fb-row .icon{
  width:18px;height:18px;border-radius:50%;flex-shrink:0;
  display:grid;place-items:center;font-size:11px;font-weight:700;margin-top:1px;
}
.mlim-fb-row.ok .icon{background:var(--accent-soft);color:var(--accent-2)}
.mlim-fb-row.ok .icon::before{content:'✓'}
.mlim-fb-row.minus .icon{background:#FFF3E0;color:#D17F25}
.mlim-fb-row.minus .icon::before{content:'!'}
.mlim-fb-row b{font-weight:700;color:var(--ink)}

/* === Product DEY === */
.pv-dey{
  background:linear-gradient(135deg,#E8F1FC 0%, #D0E1F5 100%);
  padding:24px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;position:relative;
}
.dey-app{
  width:min(440px, 100%);
  background:#fff;border-radius:12px;
  box-shadow:0 30px 70px -20px rgba(74,144,226,0.4), 0 0 0 1px rgba(74,144,226,0.08);
  overflow:hidden;position:relative;z-index:2;
  transform:perspective(1400px) rotateY(-3deg) rotateX(2deg);
}
.dey-titlebar{
  background:linear-gradient(180deg,#F3F5F9,#EDF0F5);
  padding:9px 14px;display:flex;align-items:center;gap:8px;
  border-bottom:1px solid #E7EAF0;
}
.dey-titlebar-dots{display:flex;gap:5px}
.dey-titlebar-dots span{width:9px;height:9px;border-radius:50%}
.dey-titlebar-dots span:nth-child(1){background:#FF5F57}
.dey-titlebar-dots span:nth-child(2){background:#FFBD2E}
.dey-titlebar-dots span:nth-child(3){background:#27C93F}
.dey-titlebar-url{
  flex:1;background:#fff;border:1px solid #E7EAF0;border-radius:5px;
  font-family:'JetBrains Mono',monospace;font-size:9.5px;color:#5B6A80;
  padding:3px 9px;text-align:center;margin-left:6px;max-width:240px;margin-right:auto;
}

.dey-layout{display:grid;grid-template-columns:120px 1fr;height:340px}
.dey-side{
  background:linear-gradient(180deg,#1A4480 0%,#0F2D5C 100%);
  padding:14px 8px;color:#fff;
  display:flex;flex-direction:column;gap:2px;
}
.dey-side-brand{
  display:flex;align-items:center;gap:8px;
  padding:0 4px 14px;
  border-bottom:1px solid rgba(255,255,255,0.1);
  margin-bottom:10px;
}
.dey-side-brand-mark{
  width:26px;height:26px;border-radius:7px;
  background:#fff;
  display:grid;place-items:center;
  overflow:hidden;
  flex-shrink:0;
}
.dey-side-brand-mark img{width:100%;height:100%;object-fit:contain}
.dey-side-brand-name{font-size:10px;font-weight:700;line-height:1.2}
.dey-side-brand-name small{
  font-family:'JetBrains Mono',monospace;font-size:7.5px;
  color:rgba(255,255,255,0.5);font-weight:500;
  display:block;margin-top:1px;letter-spacing:0.06em;
}
.dey-side-item{
  font-size:10.5px;color:rgba(255,255,255,0.65);
  padding:7px 10px;border-radius:6px;
  display:flex;align-items:center;gap:8px;font-weight:500;
}
.dey-side-item::before{
  content:'';width:5px;height:5px;border-radius:50%;
  background:currentColor;opacity:0.6;
}
.dey-side-item.active{
  background:rgba(255,255,255,0.1);color:#fff;font-weight:700;
  box-shadow:inset 2px 0 0 #5DC3F5;
}
.dey-side-item.active::before{
  background:#5DC3F5;box-shadow:0 0 6px #5DC3F5;opacity:1;
}

.dey-main{
  padding:14px 16px;
  display:flex;flex-direction:column;gap:10px;
  background:#FAFBFD;overflow:hidden;
}
.dey-header{
  display:flex;align-items:center;justify-content:space-between;
  padding-bottom:9px;border-bottom:1px solid #E7EAF0;
}
.dey-header-title{font-size:13px;font-weight:700;color:var(--ink)}
.dey-header-title small{
  font-weight:500;color:var(--muted);font-size:10.5px;margin-left:6px;
}
.dey-header-actions{display:flex;gap:5px}
.dey-header-btn{
  font-size:9.5px;padding:5px 9px;border-radius:5px;
  background:#fff;border:1px solid var(--line);color:var(--ink-2);font-weight:600;
}
.dey-header-btn.primary{background:var(--primary);color:#fff;border-color:transparent}

.dey-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.dey-stat{
  background:#fff;border:1px solid var(--line);border-radius:8px;
  padding:8px 10px;display:flex;flex-direction:column;gap:2px;
  position:relative;
}
.dey-stat::before{
  content:'';position:absolute;left:0;top:8px;bottom:8px;width:3px;
  border-radius:0 2px 2px 0;
}
.dey-stat.blue::before{background:#4A90E2}
.dey-stat.green::before{background:#3BAF6A}
.dey-stat.warn::before{background:#D17F25}
.dey-stat-label{
  font-size:8px;font-family:'JetBrains Mono',monospace;
  color:var(--muted);letter-spacing:0.06em;
  text-transform:uppercase;font-weight:600;padding-left:5px;
}
.dey-stat-val{
  font-family:'Instrument Serif',serif;font-style:italic;
  font-size:18px;line-height:1;color:var(--ink);
  font-weight:500;padding-left:5px;
}
.dey-stat-val em{
  font-style:normal;font-family:'Inter',sans-serif;
  font-size:10px;color:var(--muted);font-weight:500;margin-left:2px;
}
.dey-stat.warn .dey-stat-val{color:#D17F25}

.dey-section-title{
  font-size:9.5px;font-family:'JetBrains Mono',monospace;
  color:var(--muted);letter-spacing:0.08em;
  text-transform:uppercase;font-weight:700;margin-top:2px;
}
.dey-schedule-grid{
  display:grid;
  grid-template-columns:32px repeat(5,1fr);
  gap:2px;
  background:#fff;border:1px solid var(--line);border-radius:7px;
  padding:7px;font-size:8px;
}
.dey-sched-day{
  text-align:center;font-family:'JetBrains Mono',monospace;
  color:var(--muted);font-weight:700;letter-spacing:0.04em;
  font-size:8px;padding-bottom:4px;
}
.dey-sched-time{
  font-family:'JetBrains Mono',monospace;font-size:7.5px;
  color:var(--muted);font-weight:600;
  display:flex;align-items:center;justify-content:flex-end;
  padding-right:4px;
}
.dey-sched-cell{
  border-radius:3px;padding:3px 4px;
  font-size:7.5px;color:#fff;font-weight:600;
  line-height:1.25;min-height:22px;
  display:flex;flex-direction:column;justify-content:center;
}
.dey-sched-cell.empty{background:#F3F5F9}
.dey-sched-cell.math{background:linear-gradient(135deg,#4A90E2,#2C6BB8)}
.dey-sched-cell.phys{background:linear-gradient(135deg,#E74C3C,#C0392B)}
.dey-sched-cell.chem{background:linear-gradient(135deg,#9B6FBD,#6B4C8F)}
.dey-sched-cell.bio{background:linear-gradient(135deg,#3BAF6A,#2C8550)}
.dey-sched-cell.lit{background:linear-gradient(135deg,#D17F25,#A8651D)}
.dey-sched-cell.now{
  outline:2px solid #4ECDC4;outline-offset:1px;
  box-shadow:0 0 0 1.5px rgba(78,205,196,0.3);
  position:relative;
}
@keyframes mx-live{50%{opacity:0.3}}
.dey-sched-cell.now::after{
  content:'';position:absolute;top:-3px;right:-3px;
  width:7px;height:7px;border-radius:50%;
  background:#4ECDC4;box-shadow:0 0 6px #4ECDC4;
  animation:mx-live 1.4s infinite;
}
.dey-sched-cell small{font-size:6.5px;font-weight:500;opacity:0.85}

.dey-side-card{
  position:absolute;
  bottom:30px;left:18px;
  width:160px;
  background:#fff;border-radius:9px;
  padding:11px 13px;
  box-shadow:0 18px 36px -10px rgba(74,144,226,0.4), 0 0 0 1px rgba(74,144,226,0.06);
  border:none;
  transform:rotate(-4deg);
  z-index:1;
}
.dey-side-card-head{
  display:flex;justify-content:space-between;
  font-size:8.5px;font-family:'JetBrains Mono',monospace;
  color:var(--muted);letter-spacing:0.08em;
  margin-bottom:8px;padding-bottom:6px;
  border-bottom:1px solid var(--line);font-weight:700;
}
.dey-side-card-head b{color:var(--primary-2);font-weight:700}
.dey-notif{
  display:flex;gap:7px;align-items:flex-start;
  font-size:9px;line-height:1.3;color:var(--ink-2);
  margin-bottom:7px;
}
.dey-notif:last-child{margin-bottom:0}
.dey-notif-dot{
  width:6px;height:6px;border-radius:50%;flex-shrink:0;margin-top:3px;
}
.dey-notif-dot.red{background:#E74C3C;box-shadow:0 0 5px rgba(231,76,60,0.4)}
.dey-notif-dot.yellow{background:#F39C12}
.dey-notif-dot.green{background:#3BAF6A}
.dey-notif b{font-weight:700}

.product.reverse{grid-template-columns:1.1fr 1fr}
.product.reverse .product-visual{order:-1}

@media (max-width: 900px){
  .product, .product.reverse{grid-template-columns:1fr;min-height:auto}
  .product.reverse .product-visual{order:0}
  .product-visual{min-height:280px}
  .product-info{padding:32px}
  .product-info h3{font-size:30px}
  .mlim-paper{width:160px;left:12px;top:12px}
  .mlim-card{margin-left:0}
  .dey-side-card{display:none}
  .lib-app{transform:none}
}

/* ============== NEWS ============== */
.news{padding:100px 0;background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.news-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:28px;
}
.news-feat{
  background:var(--ink);color:#fff;border-radius:20px;
  padding:40px;display:flex;flex-direction:column;justify-content:space-between;
  min-height:440px;position:relative;overflow:hidden;
  transition:transform .4s;
}
.news-feat::before{
  content:'';position:absolute;inset:0;
  background:
    radial-gradient(500px 400px at 100% 0%, rgba(78,205,196,0.18), transparent 60%),
    radial-gradient(400px 300px at 0% 100%, rgba(74,144,226,0.18), transparent 60%);
}
.news-feat:hover{transform:translateY(-4px)}
.news-feat-top{position:relative;z-index:1}
.news-feat-pill{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'JetBrains Mono',monospace;
  font-size:11px;letter-spacing:0.08em;
  padding:5px 12px;border-radius:100px;
  background:rgba(78,205,196,0.15);color:var(--accent);
  border:1px solid rgba(78,205,196,0.3);
  margin-bottom:32px;
}
.news-feat-version{
  font-family:'Instrument Serif',serif;
  font-style:italic;
  letter-spacing:-0.04em;
  color:#fff;
  margin-bottom:24px;
}
.nfv-name{
  display:block;
  font-size:58px;
  line-height:1;
  margin-bottom:10px;
  position:relative;
}
.nfv-name .fn-f{
  color:var(--accent);
  position:relative;
  display:inline-block;
  transition:color .5s ease, text-shadow .5s ease, transform .5s ease;
}
.nfv-name .fn-f::after{
  content:'';
  position:absolute;left:12%;right:12%;bottom:12%;
  height:2px;
  background:var(--accent);
  opacity:0;
  transform:scaleX(0.4);
  transform-origin:left center;
  transition:opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1), background .5s ease;
}
.nfv-name .fn-x{
  font-size:0.58em;
  color:rgba(255,255,255,0.42);
  font-style:italic;
  margin-left:-0.04em;
  letter-spacing:-0.02em;
  display:inline-block;
  transition:color .5s ease, transform .5s cubic-bezier(.2,.8,.2,1), letter-spacing .5s ease;
}
.news-feat-version em{
  display:block;
  color:var(--accent);
  font-size:140px;
  line-height:0.88;
  font-style:italic;
  transition:color .5s ease, text-shadow .6s ease;
}
.news-feat:hover .nfv-name .fn-f{
  color:#7AB8F0;
  text-shadow:0 0 28px rgba(122,184,240,0.35);
}
.news-feat:hover .nfv-name .fn-f::after{
  opacity:0.75;
  transform:scaleX(1);
  background:#7AB8F0;
}
.news-feat:hover .nfv-name .fn-x{
  color:rgba(122,184,240,0.85);
  letter-spacing:0.01em;
  transform:translateX(1px);
}
.news-feat:hover .news-feat-version em{
  color:#A4D4F5;
  text-shadow:0 0 40px rgba(164,212,245,0.2);
}
.news-feat-bot{position:relative;z-index:1}
.news-feat h3{
  font-family:'Instrument Serif',serif;
  font-size:32px;font-weight:400;line-height:1.1;margin-bottom:14px;letter-spacing:-0.02em;
}
.news-feat p{color:rgba(255,255,255,0.7);font-size:15px;line-height:1.55;margin-bottom:20px;max-width:480px}
.news-feat-meta{
  display:flex;gap:20px;font-family:'JetBrains Mono',monospace;font-size:11px;
  color:rgba(255,255,255,0.5);letter-spacing:0.06em;
}
.news-list{display:flex;flex-direction:column;gap:0}
.news-row{
  display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;
  padding:22px 0;border-bottom:1px solid var(--line);
  transition:all .3s;
}
.news-row:first-child{padding-top:0}
.news-row:last-child{border-bottom:none}
.news-row:hover{padding-left:10px}
.news-icon{
  width:52px;height:52px;border-radius:12px;
  background:var(--bg-2);display:grid;place-items:center;
  border:1px solid var(--line);
  flex-shrink:0;overflow:hidden;
}
.news-icon img{width:100%;height:100%;object-fit:cover}
.news-body h4{font-size:15px;font-weight:600;margin-bottom:4px;color:var(--ink)}
.news-body .m{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--muted);letter-spacing:0.06em;display:flex;gap:8px;align-items:center}
.news-body .m .t{padding:2px 7px;border-radius:3px;font-size:10px}
.t.launch{background:var(--primary-soft);color:var(--primary-2)}
.t.preview{background:#FFF3E0;color:#D17F25}
.news-arr{color:var(--muted-2);font-size:16px;transition:all .3s}
.news-row:hover .news-arr{color:var(--primary);transform:translateX(4px)}

@media (max-width:900px){
  .news-grid{grid-template-columns:1fr}
  .news-feat-version em{font-size:96px}
  .nfv-name{font-size:42px}
}

/* ============== ABOUT ============== */
.about{padding:120px 0;background:var(--bg)}
.about-grid{
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:80px;align-items:start;
}
.about-left{position:sticky;top:100px}
.about-label{
  font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:500;
  letter-spacing:0.1em;text-transform:uppercase;color:var(--primary);margin-bottom:20px;
}
.about-heading{
  font-family:'Instrument Serif',serif;font-weight:400;
  font-size:clamp(42px,5.5vw,68px);line-height:1.02;letter-spacing:-0.03em;
}
.about-heading em{font-style:italic;color:var(--primary)}
.about-copy{font-family:'Instrument Serif',serif;font-size:26px;line-height:1.45;color:var(--ink-2);font-weight:400}
.about-copy p{margin-bottom:24px}
.about-copy em{color:var(--primary);font-style:italic}
.about-copy strong{
  font-weight:500;color:var(--ink);
  background:linear-gradient(to top,rgba(78,205,196,0.3) 28%,transparent 28%);
}
.timeline{margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}
.tl-row{
  display:grid;grid-template-columns:100px 1fr;gap:24px;
  padding:14px 0;font-size:15px;
}
.tl-date{font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--muted);letter-spacing:0.06em}
.tl-event{color:var(--ink-2)}
.tl-event strong{color:var(--ink);font-weight:600}

@media (max-width:900px){
  .about-grid{grid-template-columns:1fr;gap:40px}
  .about-left{position:static}
  .about-copy{font-size:20px}
}

/* ============== CTA ============== */
.cta{padding:120px 0}
.cta-box{
  background:linear-gradient(135deg, #2C6BB8 0%, #1F8C82 100%);
  color:#fff;border-radius:24px;
  padding:80px 60px;text-align:center;
  position:relative;overflow:hidden;
  box-shadow:0 30px 80px -20px rgba(31,140,130,0.4), 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.cta-box::before{
  content:'';position:absolute;inset:0;
  background:
    radial-gradient(900px 600px at 70% -20%, rgba(255,255,255,0.14), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(78,205,196,0.18), transparent 60%);
}
.cta-box > *{position:relative;z-index:1}
.cta-box h3{
  font-family:'Instrument Serif',serif;font-weight:400;
  font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-0.025em;
  margin-bottom:24px;
}
.cta-box h3 em{font-style:italic;color:var(--accent)}
.cta-box p{color:rgba(255,255,255,0.7);font-size:17px;max-width:540px;margin:0 auto 36px;line-height:1.55}
.cta-box .btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.cta-box .btn-primary{background:var(--accent);color:var(--ink)}
.cta-box .btn-primary:hover{background:#fff;box-shadow:0 12px 30px -10px rgba(78,205,196,0.5)}
.cta-box .btn-ghost{background:transparent;border-color:rgba(255,255,255,0.2);color:#fff}
.cta-box .btn-ghost:hover{background:rgba(255,255,255,0.05);border-color:rgba(255,255,255,0.4)}

/* ============== CONTACT MODAL ============== */
.cm-overlay{
  position:fixed;inset:0;z-index:1000;
  background:rgba(14,20,32,0.55);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  display:none;
  align-items:center;justify-content:center;
  padding:24px;
  opacity:0;
  transition:opacity .3s ease;
}
.cm-overlay.on{display:flex;opacity:1}
.cm-modal{
  background:#fff;border-radius:24px;
  width:100%;max-width:520px;
  padding:40px 36px 32px;position:relative;
  box-shadow:0 60px 120px -30px rgba(14,20,32,0.6);
  transform:translateY(20px) scale(0.96);
  transition:transform .35s cubic-bezier(.2,.8,.2,1);
}
.cm-overlay.on .cm-modal{transform:translateY(0) scale(1)}
.cm-close{
  position:absolute;top:18px;right:18px;
  width:36px;height:36px;border-radius:50%;
  background:var(--bg-2);border:none;cursor:pointer;
  display:grid;place-items:center;
  font-size:18px;color:var(--muted);transition:all .2s;
}
.cm-close:hover{background:var(--line);color:var(--ink)}
.cm-head{text-align:center;margin-bottom:28px}
.cm-eyebrow{
  font-family:'JetBrains Mono',monospace;
  font-size:11px;letter-spacing:0.12em;
  color:var(--primary);text-transform:uppercase;
  font-weight:600;margin-bottom:10px;
}
.cm-title{
  font-family:'Instrument Serif',serif;font-weight:400;
  font-size:32px;line-height:1.05;letter-spacing:-0.02em;
  color:var(--ink);
}
.cm-title em{
  font-style:italic;
  background:linear-gradient(135deg,var(--primary),var(--accent-2));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.cm-options{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}
.cm-option{
  display:flex;align-items:center;gap:18px;
  padding:18px 22px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--white);
  text-decoration:none;color:inherit;
  transition:all .25s cubic-bezier(.2,.8,.2,1);
  cursor:pointer;
}
.cm-option:hover{transform:translateY(-2px);border-color:transparent}
.cm-option.email:hover{
  background:linear-gradient(135deg, #E8F1FC 0%, #fff 100%);
  box-shadow:0 12px 30px -10px rgba(74,144,226,0.35);
}
.cm-option.wa:hover{
  background:linear-gradient(135deg, #E2F7F5 0%, #fff 100%);
  box-shadow:0 12px 30px -10px rgba(37,211,102,0.4);
}
.cm-icon{
  width:48px;height:48px;border-radius:14px;
  display:grid;place-items:center;flex-shrink:0;
  color:#fff;
}
.cm-icon.email{background:linear-gradient(135deg,#4A90E2,#2C6BB8);box-shadow:0 8px 20px -6px rgba(74,144,226,0.5)}
.cm-icon.wa{background:linear-gradient(135deg,#25D366,#128C7E);box-shadow:0 8px 20px -6px rgba(37,211,102,0.5)}
.cm-icon svg{width:24px;height:24px}
.cm-label{flex:1;display:flex;flex-direction:column;gap:3px}
.cm-label-t{font-size:15px;font-weight:600;color:var(--ink)}
.cm-label-s{font-size:13px;color:var(--muted);font-family:'JetBrains Mono',monospace;letter-spacing:0.02em}
.cm-arr{color:var(--muted-2);font-size:18px;transition:transform .25s, color .25s}
.cm-option:hover .cm-arr{transform:translateX(4px);color:var(--ink)}
.cm-foot{
  text-align:center;font-size:12px;color:var(--muted-2);
  padding-top:16px;border-top:1px solid var(--line);
}

@media (max-width:520px){
  .cm-modal{padding:32px 24px 24px}
  .cm-title{font-size:26px}
  .cm-option{padding:14px 16px;gap:14px}
  .cm-icon{width:42px;height:42px}
}

/* ============== FOOTER ============== */
footer{
  background:var(--white);border-top:1px solid var(--line);
  padding:60px 24px 32px;
}
.foot-wrap{max-width:1200px;margin:0 auto}
.foot-grid{
  display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:60px;
  padding-bottom:40px;border-bottom:1px solid var(--line);margin-bottom:28px;
}
.foot-brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:600;margin-bottom:14px}
.foot-desc{color:var(--muted);font-size:14px;line-height:1.6;max-width:340px}
.foot-col h5{font-size:12px;font-family:'JetBrains Mono',monospace;text-transform:uppercase;letter-spacing:0.08em;color:var(--ink);margin-bottom:16px;font-weight:600}
.foot-col a,.foot-col p{display:block;font-size:14px;color:var(--muted);margin-bottom:10px;transition:color .2s}
.foot-col a:hover{color:var(--primary)}
.foot-bot{
  display:flex;justify-content:space-between;align-items:center;
  font-family:'JetBrains Mono',monospace;font-size:11px;
  color:var(--muted-2);letter-spacing:0.05em;flex-wrap:wrap;gap:12px;
}

@media (max-width:900px){
  .foot-grid{grid-template-columns:1fr 1fr;gap:32px}
  .nav-links{display:none}
}

.reveal{opacity:0;transform:translateY(30px);transition:all .9s cubic-bezier(.2,.8,.2,1)}
.reveal.on{opacity:1;transform:translateY(0)}

/* ============================================================
   ÖğretimSayfam Timetables — slide 3 demo + product visual
   ============================================================ */

/* ---- shared timetable grid ---- */
.tt-grid{
  flex:1;display:grid;
  grid-template-columns:46px repeat(5,1fr);
  grid-auto-rows:1fr;gap:5px;min-height:0;
}
.tt-grid .tt-day{
  background:var(--bg-2);border-radius:6px;
  display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:700;color:var(--ink-2);
  text-transform:uppercase;letter-spacing:0.04em;
}
.tt-grid .tt-day em{font-family:'Instrument Serif',serif;font-style:italic;font-weight:400;text-transform:none}
.tt-grid .tt-hour{
  font-family:'JetBrains Mono',monospace;font-size:9.5px;color:var(--muted);
  display:flex;align-items:center;justify-content:flex-end;padding-right:5px;
}
.tt-cell{
  border-radius:7px;background:#fff;border:1px solid var(--line);
  padding:6px 8px;display:flex;flex-direction:column;gap:2px;justify-content:center;
  font-size:11px;line-height:1.2;position:relative;overflow:hidden;
}
.tt-cell .s{font-weight:700;font-size:11.5px;letter-spacing:-0.01em;color:var(--ink)}
.tt-cell .t{font-size:9.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-cell.mat{background:#EFF3FE;border-color:#D5DEF9}.tt-cell.mat .s{color:#2C6BB8}
.tt-cell.fiz{background:#FCF1E0;border-color:#F1D9A8}.tt-cell.fiz .s{color:#9A6B0E}
.tt-cell.kim{background:#F0E6DB;border-color:#DCC9B0}.tt-cell.kim .s{color:#7A5A2F}
.tt-cell.bio{background:#E9F0E2;border-color:#C9D9B7}.tt-cell.bio .s{color:#3A5028}
.tt-cell.edb{background:#F6E2DE;border-color:#E9C0B7}.tt-cell.edb .s{color:#8E3B2E}
.tt-cell.tar{background:#E8E4F4;border-color:#CFC7E5}.tt-cell.tar .s{color:#4A3D8B}
.tt-cell.empty{background:transparent;border:1px dashed var(--line-2);opacity:0.5}
.tt-cell.now{box-shadow:0 0 0 2px var(--primary),0 8px 18px -8px rgba(74,144,226,0.4);z-index:2}
.tt-cell.now::after{
  content:'';position:absolute;top:-1px;right:-1px;
  width:8px;height:8px;border-radius:50%;background:var(--red);
  box-shadow:0 0 0 3px #fff;
}

/* ---- carousel slide 3 ---- */
.tt-body{
  grid-template-columns:1fr 340px !important;
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(74,144,226,0.05) 27px, rgba(74,144,226,0.05) 28px),
    linear-gradient(180deg,#FFFFFF 0%, #F7F9FD 100%);
}
.tt-table{padding:18px 22px;display:flex;flex-direction:column;min-width:0;min-height:0}
.tt-table-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}
.tt-title{font-family:'Instrument Serif',serif;font-style:italic;font-size:22px;line-height:1;color:var(--ink)}
.tt-title small{display:block;font-family:'JetBrains Mono',monospace;font-style:normal;font-size:10px;letter-spacing:0.12em;color:var(--muted);font-weight:500;margin-top:6px}
.tt-tabs{display:flex;gap:4px;background:var(--bg-2);border:1px solid var(--line);border-radius:8px;padding:3px}
.tt-tabs span{font-size:11px;font-weight:600;padding:4px 9px;border-radius:6px;color:var(--muted)}
.tt-tabs span.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(14,20,32,0.08)}

.tt-chat{
  border-left:1px solid var(--line);
  background:linear-gradient(180deg,rgba(232,241,252,0.5),transparent 50%);
  padding:18px 18px 16px;display:flex;flex-direction:column;min-height:0;
}
.tt-chat-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px dashed var(--line-2);margin-bottom:14px}
.tt-avatar{width:30px;height:30px;border-radius:9px;background:#fff;display:grid;place-items:center;overflow:hidden;flex-shrink:0;box-shadow:0 2px 6px -1px rgba(74,144,226,0.4)}
.tt-avatar img{width:100%;height:100%;object-fit:contain}
.tt-chat-name{font-family:'Instrument Serif',serif;font-style:italic;font-size:17px;line-height:1}
.tt-chat-status{font-size:10px;color:var(--green);font-weight:600;letter-spacing:0.05em;margin-top:4px;display:flex;align-items:center;gap:5px}
.tt-chat-status::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(59,175,106,0.18)}
.tt-thread{flex:1;display:flex;flex-direction:column;gap:12px;overflow:hidden;min-height:0}
.tt-msg{max-width:92%;font-size:12.5px;line-height:1.5}
.tt-msg.user{align-self:flex-end;background:var(--primary);color:#fff;padding:9px 12px;border-radius:13px 13px 4px 13px;box-shadow:0 6px 14px -8px rgba(74,144,226,0.55)}
.tt-msg.ai{align-self:flex-start}
.tt-msg.ai .b{background:var(--bg-2);border:1px solid var(--line);padding:9px 12px;border-radius:4px 13px 13px 13px;color:var(--ink)}
.tt-msg.ai .b b{color:var(--primary)}
.tt-msg.ai .b em{font-style:italic;color:var(--primary)}
.tt-chips{margin-top:8px;display:flex;flex-wrap:wrap;gap:5px}
.tt-chip{font-size:10.5px;font-weight:600;padding:3px 8px;border-radius:100px;background:var(--primary-soft);color:var(--primary-2);border:1px solid #D5DEF9;display:inline-flex;align-items:center;gap:4px}
.tt-chip.ok{background:var(--accent-soft);color:var(--accent-2);border-color:#BDE9E5}
.tt-msg.ai .done{background:var(--accent-soft);border:1px solid #BDE9E5;color:#1F6E68;padding:9px 12px;border-radius:13px;font-size:12.5px;line-height:1.5}
.tt-msg.ai .done b{color:#1F6E68}
.tt-input{margin-top:12px;background:#fff;border:1.5px solid var(--line-2);border-radius:11px;padding:9px 11px;display:flex;align-items:center;gap:9px}
.tt-input .f{flex:1;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden}
.tt-input .f .cur{display:inline-block;width:1.5px;height:13px;background:var(--primary);vertical-align:-2px;animation:ttBlink 1s steps(2) infinite}
@keyframes ttBlink{50%{opacity:0}}
.tt-input .snd{width:28px;height:28px;border-radius:8px;background:var(--primary);color:#fff;display:grid;place-items:center;font-family:'Instrument Serif',serif;font-style:italic;font-size:16px;flex-shrink:0}

/* ---- product visual ---- */
.pv-tt{
  background:linear-gradient(135deg,#EEF2FC 0%, #DCE6FA 100%);
  padding:30px 24px;position:relative;overflow:hidden;
  justify-content:center;align-items:center;
}
.pv-tt::before{
  content:'';position:absolute;inset:0;
  background-image:
    linear-gradient(to right,rgba(74,144,226,0.06) 1px,transparent 1px),
    linear-gradient(to bottom,rgba(74,144,226,0.06) 1px,transparent 1px);
  background-size:26px 26px;pointer-events:none;
}
.tt-window{
  width:min(420px,100%);background:#fff;border-radius:13px;overflow:hidden;
  border:1px solid #D5DEF9;
  box-shadow:0 30px 60px -25px rgba(30,63,120,0.4),0 0 0 1px rgba(14,20,32,0.03);
  transform:perspective(1200px) rotateY(-5deg) rotateX(3deg);
  position:relative;z-index:1;
}
.tt-window-chrome{background:var(--bg-2);padding:9px 12px;display:flex;align-items:center;gap:7px;border-bottom:1px solid var(--line)}
.tt-window-chrome>span{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.tt-window-chrome>span:nth-child(1){background:#FF5F57}
.tt-window-chrome>span:nth-child(2){background:#FFBD2E}
.tt-window-chrome>span:nth-child(3){background:#27C93F}
.tt-window-url{flex:1;background:#fff;border:1px solid var(--line);border-radius:5px;padding:4px 9px;font-size:9.5px;font-family:'JetBrains Mono',monospace;color:var(--muted);margin-left:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tt-window-body{padding:14px 16px}
.tt-mini-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}
.tt-mini-title{font-family:'Instrument Serif',serif;font-style:italic;font-size:16px}
.tt-mini-badge{font-size:9px;font-family:'JetBrains Mono',monospace;color:var(--accent-2);background:var(--accent-soft);border:1px solid #BDE9E5;border-radius:100px;padding:3px 9px;letter-spacing:0.05em;font-weight:600}
.tt-window .tt-grid{grid-template-columns:32px repeat(5,1fr);gap:4px}
.tt-window .tt-grid .tt-day{font-size:8.5px;padding:5px 0}
.tt-window .tt-grid .tt-hour{font-size:8px;padding-right:3px}
.tt-window .tt-cell{padding:0 4px;min-height:30px;justify-content:center}
.tt-window .tt-cell .s{font-size:9.5px}
.tt-window .tt-cell .t{display:none}

.tt-float{
  position:absolute;right:20px;bottom:22px;z-index:3;width:212px;
  background:#fff;border-radius:12px;border:1px solid #D5DEF9;
  box-shadow:0 20px 40px -14px rgba(30,63,120,0.45);
  padding:11px 13px;transform:rotate(2deg);
}
.tt-float-head{display:flex;align-items:center;gap:7px;margin-bottom:7px}
.tt-float-avatar{width:22px;height:22px;border-radius:7px;background:#fff;display:grid;place-items:center;overflow:hidden;flex-shrink:0;box-shadow:0 2px 6px -1px rgba(74,144,226,0.4)}
.tt-float-avatar img{width:100%;height:100%;object-fit:contain}
.tt-float-name{font-size:11px;font-weight:700}
.tt-float-name em{font-style:italic;color:var(--primary);font-weight:400;font-family:'Instrument Serif',serif}
.tt-float-msg{font-size:10.5px;color:var(--muted);line-height:1.45}
.tt-float-msg b{color:var(--accent-2)}
.tt-float-chips{margin-top:7px;display:flex;gap:4px;flex-wrap:wrap}
.tt-float-chips span{font-size:9px;font-weight:600;padding:2px 7px;border-radius:100px;background:var(--accent-soft);color:var(--accent-2);border:1px solid #BDE9E5}

/* ---- news row icon ---- */
.news-icon.tt{background:#fff}
.news-icon.tt img{object-fit:contain;padding:9px}

@media (max-width:900px){
  .tt-body{grid-template-columns:1fr !important}
  .tt-chat{display:none}
  .tt-grid{grid-template-columns:38px repeat(5,1fr)}
  .tt-float{display:none}
  .tt-window{transform:none}
}
