/* ALMUGAZ PUBLIC HOME R1
   Scope: Navbar + Hero only.
   Target: premium visual direction.
*/

.public-header-r1{
  position:sticky;
  top:0;
  z-index:90;
  border-bottom:1px solid rgba(148,163,184,.10);
  background:rgba(5,12,29,.88);
  box-shadow:0 14px 40px rgba(2,6,23,.20);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}

.public-header-r1 .public-bar{
  width:min(1180px,calc(100% - 40px));
  min-height:76px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.public-brand-r1{
  flex:none;
}

.public-brand-r1 .ui-brand-mark{
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  border:1px solid rgba(90,231,201,.28);
  border-radius:14px;
  background:
    radial-gradient(circle at 30% 20%,rgba(110,231,255,.26),transparent 45%),
    linear-gradient(145deg,#14294b,#0a1831);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 10px 25px rgba(20,184,166,.13);
  color:#78f3d4;
  font-size:22px;
  font-weight:900;
}

.public-header-r1 .ui-brand b{
  font-size:18px;
  letter-spacing:-.02em;
}

.public-header-r1 .ui-brand small{
  margin-top:2px;
  color:#8190aa;
  font-size:10px;
  font-weight:700;
}

.public-header-r1 nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
}

.public-header-r1 nav a{
  position:relative;
  padding:11px 12px;
  border-radius:10px;
  color:#aebbd0;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  transition:
    color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.public-header-r1 nav a:hover{
  color:#fff;
  background:rgba(255,255,255,.055);
  transform:translateY(-1px);
}

.public-header-r1 nav a.public-nav-active{
  color:#fff;
}

.public-header-r1 nav a.public-nav-active::after{
  content:"";
  position:absolute;
  right:12px;
  bottom:4px;
  width:24px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,#5eead4,#67e8f9);
  box-shadow:0 0 14px rgba(94,234,212,.65);
}

.public-header-r1 .public-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex:none;
}

.public-header-r1 .public-login-button,
.public-header-r1 .public-register-button{
  min-height:42px;
  border-radius:12px;
  padding-inline:17px;
  font-size:12px;
  font-weight:900;
}

.public-header-r1 .public-login-button{
  border-color:rgba(148,163,184,.18);
  background:rgba(255,255,255,.035);
  color:#dce5f4;
}

.public-header-r1 .public-register-button{
  border-color:rgba(139,92,246,.35);
  background:
    linear-gradient(135deg,#7c3aed,#5b5ce2 65%,#2979d9);
  box-shadow:0 12px 30px rgba(99,102,241,.27);
}

.public-header-r1 .public-theme-button{
  opacity:.72;
}

.public-hero-r1{
  position:relative;
  isolation:isolate;
  width:min(1180px,calc(100% - 40px));
  min-height:620px;
  margin:28px auto 0;
  padding:68px 62px;
  display:grid;
  grid-template-columns:minmax(0,1.03fr) minmax(400px,.97fr);
  align-items:center;
  gap:54px;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.13);
  border-radius:34px;
  background:
    radial-gradient(circle at 16% 22%,rgba(59,130,246,.18),transparent 30%),
    radial-gradient(circle at 80% 18%,rgba(124,58,237,.20),transparent 32%),
    radial-gradient(circle at 58% 104%,rgba(20,184,166,.12),transparent 30%),
    linear-gradient(135deg,#071326 0%,#0b1730 43%,#181743 100%);
  box-shadow:
    0 40px 100px rgba(2,6,23,.38),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.public-hero-r1::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  opacity:.26;
  background-image:
    linear-gradient(rgba(148,163,184,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(148,163,184,.055) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,black,transparent 85%);
}

.public-hero-r1::after{
  content:"";
  position:absolute;
  z-index:-1;
  width:430px;
  height:430px;
  left:-130px;
  bottom:-220px;
  border-radius:50%;
  background:rgba(59,130,246,.16);
  filter:blur(70px);
}

.hero-copy-r1{
  position:relative;
  z-index:4;
}

.hero-kicker-r1{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:8px 13px;
  border:1px solid rgba(103,232,249,.15);
  border-radius:999px;
  background:rgba(15,35,65,.58);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  color:#93eaf2;
}

.hero-kicker-r1 i{
  color:#facc15;
  font-style:normal;
}

.hero-copy-r1 h1{
  max-width:680px;
  margin:24px 0 0;
  color:#f8fbff;
  font-size:clamp(48px,5.3vw,76px);
  line-height:1.08;
  letter-spacing:-.055em;
  font-weight:950;
}

.hero-copy-r1 h1 em{
  position:relative;
  display:inline-block;
  color:#facc15;
  font-style:normal;
  text-shadow:0 0 30px rgba(250,204,21,.15);
}

.hero-copy-r1 h1 em::after{
  content:"";
  position:absolute;
  right:4px;
  bottom:-9px;
  width:62%;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg,#facc15,rgba(250,204,21,0));
}

.hero-lead-r1{
  max-width:650px;
  margin:28px 0 0;
  color:#b5c1d5;
  font-size:17px;
  line-height:2;
  font-weight:600;
}

.hero-benefits-r1{
  margin-top:27px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.hero-benefits-r1 span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:12px;
  background:rgba(255,255,255,.035);
  color:#d8e4f4;
  font-size:12px;
}

.hero-benefits-r1 i{
  display:grid;
  width:25px;
  height:25px;
  place-items:center;
  border-radius:8px;
  background:rgba(94,234,212,.10);
  color:#5eead4;
  font-style:normal;
  font-weight:900;
}

.hero-actions-r1{
  margin-top:30px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.hero-actions-r1 .ui-button{
  min-height:51px;
  border-radius:14px;
  padding-inline:22px;
  font-weight:950;
}

.hero-primary-r1{
  border-color:#facc15 !important;
  background:
    linear-gradient(135deg,#fde047,#facc15) !important;
  box-shadow:
    0 14px 36px rgba(250,204,21,.19),
    inset 0 1px 0 rgba(255,255,255,.5) !important;
  color:#172033 !important;
}

.hero-primary-r1:hover{
  transform:translateY(-2px);
  box-shadow:
    0 18px 42px rgba(250,204,21,.24),
    inset 0 1px 0 rgba(255,255,255,.5) !important;
}

.hero-secondary-r1{
  gap:10px;
  border-color:rgba(148,163,184,.17);
  background:rgba(255,255,255,.035);
}

.hero-play-r1{
  display:grid;
  width:27px;
  height:27px;
  place-items:center;
  border-radius:999px;
  background:rgba(99,102,241,.17);
  color:#c4b5fd;
  font-size:10px;
}

.hero-notes-r1{
  margin-top:22px;
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  color:#7888a3;
  font-size:11px;
  font-weight:700;
}

.hero-art-r1{
  position:relative;
  min-height:470px;
  border:1px solid rgba(148,163,184,.11);
  border-radius:30px;
  background:
    radial-gradient(circle at 46% 38%,rgba(99,102,241,.17),transparent 27%),
    linear-gradient(145deg,rgba(13,28,55,.92),rgba(15,19,49,.82));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 30px 70px rgba(2,6,23,.30);
  overflow:visible;
}

.hero-art-grid-r1{
  position:absolute;
  inset:0;
  overflow:hidden;
  border-radius:30px;
  opacity:.32;
  background-image:
    linear-gradient(rgba(148,163,184,.075) 1px,transparent 1px),
    linear-gradient(90deg,rgba(148,163,184,.075) 1px,transparent 1px);
  background-size:38px 38px;
  mask-image:radial-gradient(circle at center,black 25%,transparent 85%);
}

.hero-art-glow-r1{
  position:absolute;
  border-radius:999px;
  filter:blur(60px);
}

.hero-art-glow-one{
  width:210px;
  height:210px;
  right:12%;
  top:10%;
  background:rgba(124,58,237,.25);
}

.hero-art-glow-two{
  width:180px;
  height:180px;
  left:5%;
  bottom:4%;
  background:rgba(6,182,212,.16);
}

.hero-board-r1{
  position:absolute;
  z-index:4;
  top:70px;
  right:50%;
  width:min(360px,74%);
  transform:translateX(50%) rotate(-1.5deg);
  padding:19px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  background:rgba(7,17,40,.84);
  box-shadow:
    0 30px 70px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter:blur(18px);
}

.hero-board-head-r1{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.hero-board-head-r1 span{
  display:grid;
  gap:3px;
}

.hero-board-head-r1 small{
  color:#7788a5;
  font-size:10px;
}

.hero-board-head-r1 b{
  color:#f5f8ff;
  font-size:14px;
}

.hero-board-head-r1 > i{
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border-radius:11px;
  background:rgba(124,58,237,.14);
  color:#c4b5fd;
  font-style:normal;
}

.hero-board-main-r1{
  margin-top:20px;
  display:grid;
  grid-template-columns:115px 1fr;
  align-items:end;
  gap:18px;
}

.hero-progress-r1{
  width:108px;
  height:108px;
  padding:9px;
  border-radius:50%;
  background:
    conic-gradient(#5eead4 0 78%,rgba(148,163,184,.12) 78% 100%);
  box-shadow:0 0 30px rgba(94,234,212,.08);
}

.hero-progress-r1 > div{
  width:100%;
  height:100%;
  display:grid;
  place-content:center;
  text-align:center;
  border-radius:50%;
  background:#0a1730;
}

.hero-progress-r1 strong{
  color:#fff;
  font-size:24px;
  line-height:1;
}

.hero-progress-r1 small{
  margin-top:5px;
  color:#71839f;
  font-size:9px;
}

.hero-bars-r1{
  height:104px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:7px;
  padding:12px 11px 0;
  border-right:1px solid rgba(148,163,184,.08);
}

.hero-bars-r1 span{
  width:14px;
  height:var(--h);
  min-height:16px;
  border-radius:7px 7px 3px 3px;
  background:
    linear-gradient(to top,#4f46e5,#67e8f9);
  box-shadow:0 5px 15px rgba(99,102,241,.13);
}

.hero-board-footer-r1{
  margin-top:18px;
  padding-top:15px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  border-top:1px solid rgba(148,163,184,.09);
}

.hero-board-footer-r1 span{
  display:grid;
  gap:4px;
}

.hero-board-footer-r1 small{
  color:#667793;
  font-size:8px;
}

.hero-board-footer-r1 b{
  color:#dce8f8;
  font-size:13px;
}

.hero-sigma-r1{
  position:absolute;
  z-index:5;
  left:34px;
  top:38px;
  display:grid;
  width:76px;
  height:76px;
  place-items:center;
  border:1px solid rgba(94,234,212,.18);
  border-radius:24px;
  background:
    linear-gradient(145deg,rgba(15,39,68,.95),rgba(13,28,53,.9));
  box-shadow:
    0 18px 45px rgba(0,0,0,.30),
    0 0 45px rgba(94,234,212,.08);
  color:#5eead4;
  font-size:43px;
  font-weight:900;
  transform:rotate(-5deg);
}

.hero-floating-r1{
  position:absolute;
  z-index:6;
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 13px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:15px;
  background:rgba(9,22,45,.91);
  box-shadow:0 17px 40px rgba(0,0,0,.30);
  backdrop-filter:blur(16px);
}

.hero-floating-r1 > i{
  display:grid;
  width:31px;
  height:31px;
  place-items:center;
  flex:none;
  border-radius:10px;
  background:rgba(99,102,241,.12);
  color:#a5b4fc;
  font-style:normal;
  font-weight:900;
}

.hero-floating-r1 span{
  display:grid;
  gap:2px;
}

.hero-floating-r1 small{
  color:#7687a2;
  font-size:8px;
}

.hero-floating-r1 b{
  color:#e9f0fb;
  font-size:10px;
}

.hero-floating-one-r1{
  right:-22px;
  bottom:74px;
}

.hero-floating-two-r1{
  left:-25px;
  top:160px;
}

.hero-floating-three-r1{
  left:35px;
  bottom:26px;
}

.hero-floating-three-r1 > i{
  background:rgba(16,185,129,.12);
  color:#6ee7b7;
}

.hero-equation-r1{
  position:absolute;
  z-index:2;
  right:26px;
  top:28px;
  color:rgba(165,180,252,.34);
  font-family:Georgia,serif;
  font-size:15px;
  direction:ltr;
}

@media(max-width:1080px){
  .public-header-r1 nav{
    display:none;
  }

  .public-hero-r1{
    grid-template-columns:1fr 420px;
    gap:32px;
    padding:54px 40px;
  }
}

@media(max-width:900px){
  .public-hero-r1{
    grid-template-columns:1fr;
    padding:44px 30px;
  }

  .hero-art-r1{
    min-height:410px;
  }

  .hero-copy-r1 h1{
    max-width:620px;
  }
}

@media(max-width:640px){
  .public-header-r1 .public-bar,
  .public-hero-r1{
    width:min(100% - 24px,1180px);
  }

  .public-header-r1 .public-bar{
    min-height:68px;
  }

  .public-header-r1 .public-register-button{
    display:none;
  }

  .public-header-r1 .public-theme-button{
    display:none;
  }

  .public-brand-r1 .ui-brand small{
    display:none;
  }

  .public-hero-r1{
    min-height:auto;
    margin-top:14px;
    padding:36px 20px 30px;
    border-radius:25px;
  }

  .hero-copy-r1 h1{
    margin-top:19px;
    font-size:43px;
  }

  .hero-lead-r1{
    margin-top:22px;
    font-size:14px;
    line-height:1.9;
  }

  .hero-benefits-r1{
    display:grid;
    grid-template-columns:1fr;
  }

  .hero-actions-r1{
    display:grid;
    grid-template-columns:1fr;
  }

  .hero-actions-r1 .ui-button{
    width:100%;
    justify-content:center;
  }

  .hero-notes-r1{
    display:grid;
    gap:8px;
  }

  .hero-art-r1{
    min-height:355px;
    margin-top:5px;
  }

  .hero-board-r1{
    top:75px;
    width:82%;
    padding:15px;
  }

  .hero-board-main-r1{
    grid-template-columns:92px 1fr;
  }

  .hero-progress-r1{
    width:88px;
    height:88px;
  }

  .hero-progress-r1 strong{
    font-size:20px;
  }

  .hero-board-footer-r1{
    gap:4px;
  }

  .hero-sigma-r1{
    width:58px;
    height:58px;
    left:18px;
    top:24px;
    border-radius:18px;
    font-size:32px;
  }

  .hero-floating-r1{
    padding:8px 10px;
  }

  .hero-floating-two-r1{
    display:none;
  }

  .hero-floating-one-r1{
    right:-5px;
    bottom:38px;
  }

  .hero-floating-three-r1{
    left:13px;
    bottom:12px;
  }
}

/* PUBLIC HOME VISUAL R2 */

.public-header-r1 .ui-brand b{
  color:#f8fafc !important;
}

.public-header-r1 .ui-brand small{
  color:#94a3b8 !important;
}

.hero-copy-r1 h1{
  color:#ffffff !important;
}

.hero-lead-r1{
  color:#bdc9dc !important;
}

.hero-benefits-r1 b,
.hero-secondary-r1{
  color:#edf4ff !important;
}

.hero-notes-r1{
  color:#91a0b9 !important;
}

.hero-art-r1{
  isolation:isolate;
}

.hero-student-r2{
  position:absolute;
  z-index:1;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  border-radius:29px;
  opacity:.78;
  filter:saturate(1.08) contrast(1.03);
}

.hero-art-r1:has(.hero-student-r2)::after{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  border-radius:29px;
  background:
    linear-gradient(90deg,rgba(5,13,31,.12),rgba(5,13,31,.72)),
    linear-gradient(0deg,rgba(5,13,31,.62),transparent 56%);
  pointer-events:none;
}

.hero-art-r1:has(.hero-student-r2) .hero-board-r1{
  z-index:4;
  top:auto;
  right:28px;
  bottom:26px;
  width:280px;
  transform:none;
  background:rgba(5,15,35,.82);
}

.hero-art-r1:has(.hero-student-r2) .hero-sigma-r1,
.hero-art-r1:has(.hero-student-r2) .hero-equation-r1,
.hero-art-r1:has(.hero-student-r2) .hero-floating-r1{
  z-index:5;
}

.tracks-r2{
  padding-top:82px !important;
  padding-bottom:62px !important;
}

.tracks-heading-r2{
  margin-bottom:30px;
}

.tracks-heading-r2 h2{
  max-width:720px;
  font-size:clamp(32px,3.4vw,50px);
  line-height:1.25;
  letter-spacing:-.035em;
}

.tracks-heading-r2 > p{
  max-width:590px;
  color:#64748b;
}

.track-grid-r2{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.track-grid-r2 .track-r2{
  position:relative;
  min-height:292px;
  padding:26px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.22) !important;
  border-radius:28px !important;
  box-shadow:
    0 24px 55px rgba(15,23,42,.16),
    inset 0 1px 0 rgba(255,255,255,.2);
  color:#fff !important;
  transition:
    transform .22s ease,
    box-shadow .22s ease;
}

.track-grid-r2 .track-r2:hover{
  transform:translateY(-5px);
  box-shadow:
    0 30px 70px rgba(15,23,42,.24),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.track-grid-r2 .track-r2::before{
  content:"";
  position:absolute;
  width:210px;
  height:210px;
  left:-70px;
  bottom:-85px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  filter:blur(10px);
}

.track-grid-r2 .track-r2::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(135deg,rgba(255,255,255,.10),transparent 35%);
}

.track-qudurat-r2{
  background:
    radial-gradient(circle at 12% 15%,rgba(110,231,183,.32),transparent 29%),
    linear-gradient(135deg,#064e3b,#059669 62%,#10b981) !important;
}

.track-tahsili-r2{
  background:
    radial-gradient(circle at 18% 13%,rgba(196,181,253,.35),transparent 28%),
    linear-gradient(135deg,#3b0764,#6d28d9 60%,#8b5cf6) !important;
}

.track-math-r2{
  background:
    radial-gradient(circle at 14% 13%,rgba(125,211,252,.38),transparent 28%),
    linear-gradient(135deg,#075985,#0284c7 60%,#2563eb) !important;
}

.track-index-r2{
  color:rgba(255,255,255,.65) !important;
  font-size:10px !important;
  letter-spacing:.16em;
}

.track-badge-r2{
  position:absolute;
  top:24px;
  left:24px;
  z-index:2;
  padding:6px 9px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(3,10,25,.18);
  color:#fff;
  font-size:9px;
  font-weight:900;
  backdrop-filter:blur(10px);
}

.track-icon-r2{
  position:relative;
  z-index:2;
  display:grid !important;
  width:72px !important;
  height:72px !important;
  margin-top:34px !important;
  place-items:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:23px;
  background:rgba(255,255,255,.13) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.20);
  color:#fff !important;
  font-size:34px !important;
  font-style:normal;
  backdrop-filter:blur(12px);
}

.track-grid-r2 .track-r2 h3{
  position:relative;
  z-index:2;
  margin-top:22px !important;
  color:#fff !important;
  font-size:27px !important;
}

.track-grid-r2 .track-r2 p{
  position:relative;
  z-index:2;
  min-height:58px;
  margin-top:11px !important;
  color:rgba(255,255,255,.82) !important;
  line-height:1.85;
}

.track-grid-r2 .track-r2 b{
  position:relative;
  z-index:2;
  display:inline-block;
  margin-top:16px;
  color:#fff !important;
  font-size:12px;
}

.why-strip-r2{
  margin-top:24px;
  padding:17px 20px;
  display:grid;
  grid-template-columns:1.25fr repeat(6,1fr);
  align-items:center;
  gap:0;
  border:1px solid #dce4ef;
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 40px rgba(15,23,42,.06);
}

.why-strip-r2 > strong{
  padding-inline:14px;
  color:#111c36;
  font-size:20px;
}

.why-strip-r2 > span{
  min-height:66px;
  padding:5px 10px;
  display:grid;
  place-content:center;
  gap:7px;
  text-align:center;
  border-inline-start:1px solid #e8edf4;
}

.why-strip-r2 i{
  color:#5b5ce2;
  font-size:19px;
  font-style:normal;
}

.why-strip-r2 b{
  color:#27334d;
  font-size:10px;
}

@media(max-width:950px){
  .track-grid-r2{
    grid-template-columns:1fr;
  }

  .why-strip-r2{
    grid-template-columns:repeat(3,1fr);
  }

  .why-strip-r2 > strong{
    grid-column:1/-1;
    padding-bottom:12px;
    text-align:center;
  }
}

@media(max-width:600px){
  .why-strip-r2{
    grid-template-columns:repeat(2,1fr);
  }
}
