:root{
  --teal: #17BEBB;
  --teal-2:#35D4D1;
  --teal-3:#8FF0EE;

  --navy:#0B2545;
  --navy-2:#0E2F57;

  --bg:#F4F6F8;
  --card:#FFFFFF;
  --text:#0F172A;
  --muted:#6B7280;

  --shadow: 0 10px 25px rgba(11,37,69,.10);
  --radius: 18px;
  --radius-sm: 14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Tajawal", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color:var(--text);
  background:#fff;
}
a{color:inherit; text-decoration:none}
button{font-family:inherit}

.container{
  width:min(1100px, 92vw);
  margin-inline:auto;
}

.topbar{
  position:sticky; top:0; z-index:50;
  background:#fff;
  border-bottom:1px solid rgba(15,23,42,.06);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:12px;
}
.topbar__brand{
  display:flex; align-items:center; gap:10px;
}
.brand-word{
  font-weight:900;
  font-size:22px;
  background: linear-gradient(135deg, var(--teal), var(--teal-2), var(--teal-3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.brand-word.small{font-size:18px}

.topbar__nav{
  display:flex; gap:18px;
  font-weight:700;
  color:var(--navy);
}
.navlink{opacity:.92}
.navlink:hover{opacity:1; color:var(--teal)}

.topbar--compact .topbar__inner{
  padding:12px 0;
}
.topbar__back{
  width:40px; height:40px;
  border-radius:999px;
  display:grid; place-items:center;
  background:rgba(11,37,69,.06);
  color:var(--navy);
  font-weight:900;
}
.topbar__back:hover{background:rgba(11,37,69,.10)}
.topbar__center{
  flex:1;
  display:flex;
  justify-content:center;
}
.topbar__title{
  font-weight:900;
  color:var(--navy);
}

/* HERO */
.hero{
  position:relative;
  background:
    radial-gradient(900px 380px at 50% 20%, rgba(143,240,238,.55), transparent 55%),
    linear-gradient(135deg, rgba(23,190,187,.95), rgba(11,37,69,.92));
  color:#fff;
  overflow:hidden;
}
.hero__inner{
  padding:72px 0 56px;
  text-align:center;
}
.logo-word{
  font-weight:900;
  letter-spacing:0;
  font-size:clamp(64px, 10vw, 120px);
  line-height:1;
  margin:0 auto 10px;
  /* كلمة خطوة فقط: تدرجات تركواز بدون خلفية */
  background: linear-gradient(135deg, #EFFFFF 0%, #BFF8F6 30%, #7DEDEA 60%, #FFFFFF 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow: 0 12px 32px rgba(0,0,0,.20);
}

.hero__tagline{
  margin:0;
  font-weight:800;
  font-size:20px;
  opacity:.95;
}
.hero__meta{
  margin:10px auto 22px;
  max-width:640px;
  color:rgba(255,255,255,.85);
  font-weight:600;
}

.hero__cta{
  display:flex; justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:26px;
}

.btn{
  border:none;
  padding:12px 18px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
  transition:transform .08s ease, opacity .2s ease, background .2s ease, border .2s ease;
}
.btn:active{transform:scale(.98)}
.btn--primary{
  background:var(--teal);
  color:var(--navy);
}
.btn--primary:hover{background:var(--teal-2)}
.btn--ghost{
  background:transparent;
  border:2px solid rgba(255,255,255,.55);
  color:#fff;
}
.btn--ghost:hover{border-color:#fff}
.btn--wide{min-width:220px}

.tiles{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:20px;
}
.tile{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  border-radius:22px;
  padding:16px 14px;
  text-align:right;
  box-shadow:none;
}
.tile:hover{background:rgba(255,255,255,.16)}
.tile__icon{
  width:44px; height:44px;
  border-radius:16px;
  display:grid; place-items:center;
  background:rgba(255,255,255,.18);
  font-weight:900;
  margin-bottom:12px;
}
.tile__title{font-weight:900}
.tile__desc{color:rgba(255,255,255,.78); margin-top:4px; font-weight:600; font-size:13px}

.hero__wave{
  position:absolute;
  bottom:-1px; left:0; right:0;
  height:56px;
  background:
    radial-gradient(120px 80px at 12% 0%, rgba(255,255,255,.95) 0, rgba(255,255,255,.95) 55%, transparent 56%),
    radial-gradient(120px 80px at 36% 0%, rgba(255,255,255,.95) 0, rgba(255,255,255,.95) 55%, transparent 56%),
    radial-gradient(120px 80px at 60% 0%, rgba(255,255,255,.95) 0, rgba(255,255,255,.95) 55%, transparent 56%),
    radial-gradient(120px 80px at 84% 0%, rgba(255,255,255,.95) 0, rgba(255,255,255,.95) 55%, transparent 56%),
    linear-gradient(#fff, #fff);
  opacity:1;
}

/* SECTIONS */
.section{padding:38px 0}
.section__title{
  margin:0 0 8px;
  font-weight:900;
  color:var(--navy);
}
.section__text{margin:0; color:var(--muted); font-weight:600}

.footer{
  padding:16px 0 76px;
  border-top:1px solid rgba(15,23,42,.06);
  background:#fff;
}
.footer__inner{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  color:var(--muted); font-weight:700;
}
.footer__links{display:flex; gap:14px}
.footer__links a:hover{color:var(--teal)}

/* CREATE PAGE */
.page{background:var(--bg)}
.create{padding:18px 0 110px}

.searchbar{
  margin-top:14px;
}
.searchbar__wrap{
  display:flex; align-items:stretch;
  background:#fff;
  border-radius:999px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid rgba(15,23,42,.06);
}
.searchbar__btn{
  width:58px;
  border:none;
  background:var(--navy);
  color:#fff;
  font-size:18px;
  cursor:pointer;
}
.searchbar__btn:hover{opacity:.95}
.searchbar__input{
  flex:1;
  border:none;
  padding:14px 16px;
  outline:none;
  font-weight:700;
  font-size:16px;
}

.tabs{
  position:sticky;
  top:64px;
  z-index:40;
  background:linear-gradient(var(--bg), var(--bg));
  padding:12px 0;
  display:flex;
  gap:8px;
  overflow:auto;
  scrollbar-width: thin;
}
.tab{
  border:none;
  cursor:pointer;
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
  color:var(--navy);
  background:rgba(11,37,69,.07);
  white-space:nowrap;
}
.tab:hover{background:rgba(11,37,69,.10)}
.tab.is-active{
  background:var(--teal);
  color:var(--navy);
}

.catSection{
  margin-top:16px;
  background:rgba(255,255,255,.55);
  border:1px solid rgba(15,23,42,.06);
  border-radius:24px;
  padding:18px;
  box-shadow: 0 6px 16px rgba(11,37,69,.06);
}
.sectionHeader{
  display:flex;
  justify-content:center;
  margin-bottom:14px;
}
.pill{
  display:inline-block;
  background:rgba(23,190,187,.14);
  color:var(--navy);
  padding:8px 18px;
  border-radius:999px;
  font-weight:900;
  border:1px solid rgba(23,190,187,.22);
}

.grid{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap:12px;
}

.card{
  position:relative;
  background:var(--card);
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.08);
  box-shadow: 0 6px 14px rgba(11,37,69,.06);
  cursor:pointer;
  user-select:none;
}
.card:hover{transform: translateY(-1px)}
.card__art{
  height:92px;
  background:
    radial-gradient(120px 80px at 30% 30%, rgba(143,240,238,.55), transparent 60%),
    linear-gradient(135deg, rgba(23,190,187,.20), rgba(11,37,69,.08));
  display:grid; place-items:center;
  color:var(--navy);
  font-weight:900;
  font-size:28px;
}
.card__name{
  padding:10px 10px 12px;
  background:rgba(23,190,187,.10);
  color:var(--navy);
  font-weight:900;
  text-align:center;
  border-top:1px solid rgba(23,190,187,.18);
}

.card__info{
  position:absolute;
  top:8px; right:8px;
  width:26px; height:26px;
  border-radius:999px;
  display:grid; place-items:center;
  background:rgba(11,37,69,.10);
  color:var(--navy);
  font-weight:900;
  font-size:13px;
}
.card__check{
  position:absolute;
  top:8px; left:8px;
  width:26px; height:26px;
  border-radius:999px;
  display:none;
  place-items:center;
  background:var(--teal);
  color:var(--navy);
  font-weight:900;
}
.card.is-selected{
  outline:3px solid rgba(23,190,187,.55);
}
.card.is-selected .card__check{display:grid}

.stickyBar{
  position:fixed;
  left:0; right:0; bottom:0;
  background:rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-top:1px solid rgba(15,23,42,.10);
  padding:10px 0;
  z-index:80;
}
.stickyBar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.stickyBar__count{
  font-weight:900;
  color:var(--navy);
}

/* Logo image instead of text */
.brand-logo{
  height: 64px;          /* الحجم الجديد */
  width: auto;
  display: block;
}

.brand-logo--small{
  height: 34px;
}

.hero-logo{
  height: clamp(120px, 18vw, 240px);
  width: auto;
  display: block;
  margin: 0 auto 12px;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.18));
}


.btn[disabled]{
  opacity:.55;
  cursor:not-allowed;
}

/* Responsive */
@media (max-width: 980px){
  .tiles{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .grid{grid-template-columns: repeat(4, minmax(0, 1fr));}
}
@media (max-width: 520px){
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .topbar__nav{gap:10px}
}
