/* ============================================================
   YAQUB IELTS — Reading Sprint landing
   Apple-style system type, animated gradient mesh, glass surfaces
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }

:root {
  /* San Francisco on Apple devices via -apple-system/BlinkMacSystemFont;
     graceful system fallbacks elsewhere (SF Pro isn't embeddable on the web). */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bg: #05070C;
  --bg-soft: #070B14;
  /* light frosted-glass cards: mostly-white but with a touch of see-through glass */
  --card: linear-gradient(160deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.66) 100%);
  --card-border: rgba(255,255,255,.55);
  --card-solid: #10162A;
  --card-2: rgba(28,38,66,.5);
  --border: rgba(244,241,232,.16);
  --border-strong: rgba(244,241,232,.26);
  --text: #F4F1E8;
  --text-dim: rgba(244,241,232,.68);
  --text-faint: rgba(244,241,232,.44);

  /* dark ink used for text sitting on the light glass cards above */
  --ink: #0B1220;
  --ink-dim: rgba(11,18,32,.72);
  --ink-faint: rgba(11,18,32,.5);

  /* primary accent now matches the blue gradient theme */
  --sage: #4E7DFF;
  --sage-glow: rgba(78,125,255,.35);
  --champagne: #C7B58B;
  --champagne-glow: rgba(199,181,139,.22);

  /* background gradient mesh — deep navy → royal blue only, no violet */
  --mesh-navy: #0A1440;
  --mesh-blue: #2447D6;
  --mesh-blue-2: #3B6BF2;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;

  --container: 1160px;
  --header-h: 72px;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --blur-glass: blur(34px) saturate(190%);
  --glass-edge: inset 0 1.5px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.04), 0 12px 34px -16px rgba(0,0,0,.6);
}

html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
::selection { background: var(--sage); color: #06110c; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--card-solid); border-radius: 10px; border: 2px solid var(--bg); }

/* ---------- Animated gradient mesh (fixed atmosphere behind everything) ---------- */
.gradient-mesh {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    linear-gradient(165deg, #05070C 0%, var(--mesh-navy) 45%, var(--mesh-blue) 100%);
}
.gradient-mesh .blob {
  position: absolute; border-radius: 50%; filter: blur(110px); will-change: transform;
}
.blob-a { width: 65vw; height: 65vw; max-width: 820px; max-height: 820px; left: -20%; top: -22%;
  background: radial-gradient(circle, rgba(59,107,242,.5) 0%, transparent 70%);
  animation: driftA 26s ease-in-out infinite;
}
.blob-b { width: 55vw; height: 55vw; max-width: 700px; max-height: 700px; right: -16%; top: 2%;
  background: radial-gradient(circle, rgba(36,71,214,.4) 0%, transparent 70%);
  animation: driftB 32s ease-in-out infinite;
}
.blob-c { width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; left: 15%; bottom: -26%;
  background: radial-gradient(circle, rgba(78,125,255,.35) 0%, transparent 70%);
  animation: driftC 30s ease-in-out infinite;
}
@keyframes driftA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6%,8%) scale(1.08); } }
@keyframes driftB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-8%,6%) scale(1.05); } }
@keyframes driftC { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(5%,-6%) scale(1.06); } }

/* ---------- Dot grid + cursor glow ---------- */
.dot-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--border-strong) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 85%);
  opacity: .4;
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; z-index: -1;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(78,125,255,.16) 0%, transparent 70%);
  transform: translate(-50%,-50%); opacity: 0; transition: opacity .4s ease;
  will-change: transform;
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 999; }
.scroll-progress span { display: block; height: 100%; width: 0%; background: var(--sage); transition: width .1s linear; }

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; min-height: 44px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px;
  white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.96); }

.btn-primary {
  background: linear-gradient(160deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.74) 100%);
  color: #0B1220; border-color: rgba(255,255,255,.6);
  backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: 0 10px 26px -10px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(160deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.86) 100%);
  box-shadow: 0 16px 34px -10px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.6);
}

.btn-ghost {
  background: linear-gradient(155deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.02) 60%), rgba(244,241,232,.04);
  color: var(--text); border-color: var(--border-strong);
  backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--glass-edge);
}
.btn-ghost:hover { border-color: var(--sage); color: var(--sage); transform: translateY(-2px); background: rgba(78,125,255,.1); }
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn-header { display: none; }
@media (min-width: 900px) { .btn-header { display: inline-flex; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px) scale(.98); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gradient-mesh .blob { animation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 500;
  height: var(--header-h); display: flex; align-items: flex-start; justify-content: center;
  padding-top: 14px; background: transparent;
  transition: padding-top .3s ease;
}
.site-header.is-scrolled { padding-top: 10px; }

/* floating centered pill nav */
.header-inner {
  display: flex; align-items: center; gap: 6px; position: relative; z-index: 1;
  width: fit-content; max-width: calc(100vw - 32px);
  padding: 8px; border-radius: 999px;
  background: rgba(24,27,35,.92);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.05);
  transition: background-color .3s ease;
}
.site-header.is-scrolled .header-inner { background: rgba(18,20,27,.96); }

.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; padding: 6px 14px 6px 10px; }
.brand-ring { fill: none; stroke: var(--sage); stroke-width: 2.2; opacity: .8; }
.brand-core { fill: var(--sage); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: var(--text); white-space: nowrap; }

.main-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 900px) { .main-nav { display: flex; } }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text-dim); white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; background: transparent;
  transition: background-color .25s var(--ease-out), color .2s ease;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-link.is-active { color: var(--text); background: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.burger { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
@media (min-width: 900px) { .burger { display: none; } }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; width: 100%;
  background: rgba(5,7,14,.82); backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 2px; padding: 10px 24px 22px;
  transform: translateY(-10px); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out), visibility .3s;
  z-index: 490;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav .nav-link { padding: 13px 0; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 14px; }
@media (min-width: 900px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 56px) 0 72px; z-index: 1;
  background: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
}
.hero-inner { max-width: 760px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 18px;
  padding: 10px 22px 10px 18px; border-radius: 999px;
  background: var(--card); border: 1.5px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 8px 20px -10px rgba(0,0,0,.5);
  backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px var(--sage-glow); flex-shrink: 0; }

.hero-title { font-size: clamp(34px, 6vw, 60px); color: var(--text); }
.hero-title-accent { color: var(--sage); }
.hero-text { margin-top: 22px; max-width: 480px; font-size: 17px; color: var(--text-dim); line-height: 1.75; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin-top: 48px; max-width: 460px; }
@media (min-width: 560px) { .hero-facts { grid-template-columns: repeat(4, auto); } }
.fact { display: flex; flex-direction: column; }
.fact-num { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--text); letter-spacing: -.01em; }
.fact-label { font-size: 12px; color: var(--text-faint); margin-top: 2px; }

/* ---------- Section shell ---------- */
.section { padding: 88px 0; position: relative; z-index: 1; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(5,8,16,.3) 12%, rgba(5,8,16,.3) 88%, transparent); }
.section-head { max-width: 620px; margin: 0 auto 52px; text-align: center; }
.section-title { font-size: clamp(26px, 3.6vw, 38px); }
.section-sub { margin-top: 16px; color: var(--text-dim); font-size: 15.5px; line-height: 1.7; }

/* ---------- Glass surface base ---------- */
.glass-surface {
  background: var(--card); border: 1px solid var(--border);
  backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
  transition: transform .3s var(--ease-out), border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}

/* ---------- Problems ---------- */
.problem-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
.problem-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 28px;
  backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
  padding: 26px 24px; display: flex; align-items: flex-start; gap: 16px;
  box-shadow: var(--glass-edge);
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.problem-card:hover { transform: translateY(-4px); border-color: #fff; box-shadow: var(--glass-edge), 0 20px 40px -20px rgba(0,0,0,.35); }
.problem-mark { font-family: var(--font-display); font-size: 14px; color: var(--ink-faint); flex-shrink: 0; padding-top: 2px; }
.problem-card p { color: var(--ink-dim); font-size: 15px; line-height: 1.65; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: 1fr; gap: 36px; margin-top: 8px; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(5, 1fr); gap: 22px; } }
.timeline-line { display: none; }
@media (min-width: 900px) {
  /* endpoints land exactly on the 1st/5th circle centers: half of one (of 5 equal)
     columns after subtracting the 4 × 22px gaps, so the dashes never overshoot node 5 */
  .timeline-line {
    display: block; position: absolute; top: 21px;
    left: calc((100% - 88px) / 10); right: calc((100% - 88px) / 10); height: 1px;
    background: repeating-linear-gradient(90deg, var(--sage) 0 8px, transparent 8px 16px);
    background-size: 16px 1px;
    animation: timelineFlow 1s linear infinite;
  }
}
@keyframes timelineFlow { to { background-position: 16px 0; } }
.timeline-step { position: relative; }
@media (min-width: 900px) { .timeline-step { padding-top: 58px; text-align: center; } }
.timeline-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; margin-bottom: 16px;
  font-family: var(--font-display); font-size: 14px;
  background: var(--card); border: 1px solid var(--card-border); color: var(--mesh-blue-2);
  backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
  position: relative; z-index: 2; transition: transform .3s var(--ease-out), box-shadow .3s ease;
}
.timeline-step:hover .timeline-num { transform: scale(1.08); box-shadow: 0 0 0 6px var(--sage-glow); }
@media (min-width: 900px) {
  .timeline-num { position: absolute; top: 0; left: 50%; transform: translateX(-50%); margin-bottom: 0; }
  .timeline-step:hover .timeline-num { transform: translateX(-50%) scale(1.08); }
}
.timeline-step h3 { font-size: 17px; margin-bottom: 8px; }
.timeline-step p { color: var(--text-dim); font-size: 14px; line-height: 1.7; }

/* ---------- Include grid ---------- */
.include-grid { display: grid; grid-template-columns: 1fr; gap: 4px; max-width: 760px; margin: 0 auto; }
@media (min-width: 700px) { .include-grid { grid-template-columns: repeat(2, 1fr); gap: 4px 32px; } }
.include-item {
  display: flex; align-items: center; gap: 14px; padding: 16px 4px;
  border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text);
  transition: padding-left .25s var(--ease-out), color .25s ease;
}
.include-item:hover { padding-left: 8px; color: var(--sage); }
.include-item svg { flex-shrink: 0; color: var(--sage); }

/* ---------- Progress Unlock System ---------- */
.level-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 800px) { .level-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.level-line { display: none; }
@media (min-width: 800px) {
  .level-line {
    display: block; position: absolute; top: 44px; left: 6%; right: 6%; height: 1px;
    background: var(--border); overflow: hidden;
  }
  .level-line::after {
    content: ""; position: absolute; inset: 0; width: 0%;
    background: linear-gradient(90deg, var(--sage), var(--champagne));
    transition: width 1.4s var(--ease-out);
  }
  .level-line.is-filled::after { width: 100%; }
}
.level-card {
  position: relative; z-index: 1; background: var(--card); border: 1px solid var(--card-border);
  backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
  border-radius: 28px; padding: 26px 20px; text-align: center;
  box-shadow: var(--glass-edge);
  transition: transform .3s var(--ease-out), border-color .3s ease, box-shadow .3s ease;
}
.level-card:hover { transform: translateY(-5px); border-color: #fff; box-shadow: var(--glass-edge), 0 20px 40px -22px rgba(0,0,0,.35); }
.level-gem { display: inline-flex; width: 32px; height: 32px; margin-bottom: 14px; color: var(--ink); }
.level-gem svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.level-gem[data-tier="1"] { opacity: .4; }
.level-gem[data-tier="2"] { opacity: .6; }
.level-gem[data-tier="3"] { opacity: .8; }
.level-gem[data-tier="4"] { opacity: 1; color: var(--mesh-blue-2); }
.level-day { display: block; font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.level-name {
  display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
}
.level-card p { margin-top: 14px; color: var(--ink-dim); font-size: 13.5px; line-height: 1.6; }

/* ---------- Founder ---------- */
.founder-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 760px) { .founder-inner { grid-template-columns: auto 1fr; gap: 56px; } }
.founder-visual { position: relative; display: flex; justify-content: center; }
.founder-visual::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage-glow), transparent 70%);
  animation: breathe 4.5s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }
.founder-initial {
  position: relative; width: 128px; height: 128px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 52px; color: var(--bg);
  background: linear-gradient(150deg, var(--sage), #4d7f65);
  border: 1px solid var(--border-strong);
}
.founder-text { margin-top: 18px; max-width: 560px; color: var(--text-dim); font-size: 17px; line-height: 1.8; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 760px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 28px; overflow: hidden;
  backdrop-filter: var(--blur-glass); -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: border-color .25s ease, transform .25s var(--ease-out), box-shadow .25s ease;
}
.faq-item:hover { transform: translateY(-2px); }
.faq-item.is-open { border-color: #fff; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-size: 15px; font-weight: 600; color: var(--ink); min-height: 44px; }
.faq-q svg { flex-shrink: 0; color: var(--mesh-blue-2); transition: transform .3s var(--ease-out); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease-out); }
.faq-a p { padding: 0 24px 22px; color: var(--ink-dim); font-size: 14.5px; line-height: 1.75; }

/* ---------- CTA banner ---------- */
.cta-banner { padding: 88px 0 96px; position: relative; z-index: 1; }
.cta-banner-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.cta-banner-inner h2 { font-size: clamp(28px, 4.6vw, 42px); }
.cta-banner-inner h2 span { color: var(--sage); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; position: relative; z-index: 1; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { flex-shrink: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { font-size: 14px; color: var(--text-dim); transition: color .2s ease; }
.footer-nav a:hover { color: var(--sage); }
.footer-copy { font-size: 13px; color: var(--text-faint); }

/* ---------- Floating Telegram button ---------- */
.fab-telegram {
  position: fixed; right: 20px; bottom: 20px; z-index: 400;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--sage); color: #06120c;
  box-shadow: 0 12px 28px -8px var(--sage-glow);
  transform: translateY(90px) scale(.9); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease-out), opacity .3s ease;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.fab-telegram.is-visible { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.fab-telegram:hover { transform: translateY(-3px) scale(1.04); }
@media (max-width: 640px) { .fab-telegram { width: 48px; height: 48px; right: 16px; bottom: 16px; } }
