/* Apps V2, visually aligned with approved Home V6 */
.apps-v2-content{
  max-width:1320px!important;
}
.apps-v2-hero{
  padding:48px 0 34px;
  border-bottom:1px solid var(--ks-soft-line);
}
.apps-v2-brand{
  display:flex;
  align-items:center;
  gap:26px;
}
.apps-v2-logo{
  width:104px;
  height:104px;
  object-fit:contain;
  background:transparent;
  border:0;
  box-shadow:none;
}
.apps-v2-brand h1{
  margin:0;
  font-size:clamp(54px,6vw,88px);
  line-height:.92;
  letter-spacing:-.065em;
  font-weight:760;
}
.apps-v2-brand p{
  margin:16px 0 0;
  max-width:680px;
  color:var(--ks-muted);
  font-size:17px;
  line-height:1.65;
}
.apps-v2-controls{
  padding:28px 0 8px;
}
.apps-v2-search-wrap{
  position:relative;
  max-width:640px;
}
.apps-v2-search-icon{
  position:absolute;
  inset-inline-start:16px;
  top:50%;
  transform:translateY(-50%);
  color:#b7bcc4;
  font-size:18px;
  pointer-events:none;
}
.apps-v2-search{
  width:100%;
  height:54px;
  padding-block:0;
  padding-inline:48px 16px;
  background:transparent;
  color:var(--ks-text);
  border:1px solid var(--ks-line);
  border-radius:14px;
  outline:none;
  font-size:16px;
  transition:border-color .2s ease, background .2s ease;
}
.apps-v2-search::placeholder{color:#a4aab2}
[data-theme="light"] .apps-v2-search::placeholder{color:#5e656e}
[data-theme="light"] .apps-v2-search-icon{color:#4d5560}
.apps-v2-search:focus{
  border-color:rgba(255,255,255,.19);
  background:var(--ks-surface);
}
[data-theme="light"] .apps-v2-search:focus{
  border-color:rgba(0,0,0,.16);
}
.apps-v2-filters{
  display:flex;
  gap:10px;
  overflow:auto;
  padding:22px 2px 6px;
  scrollbar-width:none;
}
.apps-v2-filters::-webkit-scrollbar{display:none}
.apps-v2-chip{
  border:1px solid var(--ks-line);
  border-radius:999px;
  background:transparent;
  color:#c8cdd4;
  padding:10px 14px;
  cursor:pointer;
  white-space:nowrap;
  font-size:15.5px;
  font-weight:560;
  letter-spacing:-.01em;
  line-height:1.2;
  transition:color .2s ease, border-color .2s ease, background .2s ease;
}
[data-theme="light"] .apps-v2-chip{color:#3a414a}
.apps-v2-chip:hover{
  color:var(--ks-text);
  border-color:rgba(255,255,255,.16);
}
.apps-v2-chip.active{
  color:var(--ks-text);
  background:var(--ks-surface);
  border-color:rgba(255,255,255,.28);
}
[data-theme="light"] .apps-v2-chip:hover{border-color:rgba(0,0,0,.16)}
[data-theme="light"] .apps-v2-chip.active{
  background:#fff;
  color:#17181a;
  border-color:rgba(0,0,0,.22);
}
.apps-v2-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  padding:20px 0 90px;
}
.apps-v2-grid .app-card{
  min-height:0;
  border:1px solid var(--ks-soft-line);
  border-radius:18px;
  background:#191c20;
  padding:20px;
  box-shadow:none;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease;
}
[data-theme="light"] .apps-v2-grid .app-card{
  background:#f9f9f7;
}
.apps-v2-grid .app-card:hover{
  transform:translateY(-3px);
  background:#1e2126;
  border-color:rgba(255,255,255,.16);
  box-shadow:none;
}
[data-theme="light"] .apps-v2-grid .app-card:hover{
  background:#ffffff;
  border-color:rgba(0,0,0,.14);
  box-shadow:none;
}
.apps-v2-grid .card-icon{
  width:62px;
  height:62px;
  border-radius:18px;
  background:#23262c!important;
  border:1px solid rgba(255,255,255,.06);
  box-shadow:none;
  color:#f5f5f4;
  font-size:15px;
  object-fit:cover;
}
.apps-v2-grid .app-card:nth-child(4n) .card-icon{background:#20242a!important}
.apps-v2-grid .app-card:nth-child(6n) .card-icon{background:#29262f!important}
.apps-v2-grid .app-card:nth-child(9n) .card-icon{background:#1e2929!important}
.apps-v2-grid .app-card h3,
.apps-v2-grid .app-card .card-title{
  margin:16px 0 8px;
  font-size:17px;
  line-height:1.25;
  letter-spacing:-.02em;
  font-weight:650;
  color:inherit;
}
.apps-v2-grid .app-card p{
  margin:0;
  color:#b7bcc4;
  font-size:14.5px;
  line-height:1.45;
}
[data-theme="light"] .apps-v2-grid .app-card p{color:#4e555e}
.apps-v2-feedback{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:30px;
  padding:72px 0 58px;
  border-top:1px solid var(--ks-soft-line);
}
.apps-v2-feedback h2{
  margin:0;
  max-width:760px;
  font-size:clamp(34px,4.5vw,60px);
  line-height:1;
  letter-spacing:-.05em;
}
.apps-v2-feedback p{
  margin:16px 0 0;
  color:var(--ks-muted);
}
.apps-v2-contact-actions{
  display:flex;
  gap:10px;
  flex:0 0 auto;
}
.apps-v2-contact{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border:1px solid var(--ks-line);
  border-radius:12px;
  color:var(--ks-muted);
  transition:.2s ease;
}
.apps-v2-contact:hover{
  color:var(--ks-text);
  transform:translateY(-3px);
  background:var(--ks-surface);
}
@media(max-width:1180px){
  .apps-v2-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px){
  .apps-v2-hero{padding-top:30px}
  .apps-v2-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .apps-v2-feedback{align-items:flex-start;flex-direction:column}
}
@media(max-width:620px){
  .apps-v2-brand{gap:16px}
  .apps-v2-logo{width:76px;height:76px}
  .apps-v2-brand h1{font-size:50px}
  .apps-v2-brand p{font-size:15px}
  .apps-v2-controls{padding-top:26px}
  .apps-v2-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding-bottom:64px;
  }
  .apps-v2-grid .app-card{
    padding:16px;
    border-radius:16px;
  }
  .apps-v2-grid .card-icon{
    width:56px;height:56px;border-radius:16px;
  }
  .apps-v2-grid .app-card h3,.apps-v2-grid .app-card .card-title{font-size:16px}
  .apps-v2-grid .app-card p{font-size:14px}
  .apps-v2-feedback{padding:58px 0 42px}
}

@media (max-width: 900px){
  .topbar{
    position:sticky!important;top:0!important;z-index:100!important;
    height:66px!important;min-height:66px!important;
    background:rgba(21,23,26,.96)!important;background-image:none!important;
    -webkit-backdrop-filter:blur(18px) saturate(115%)!important;
    backdrop-filter:blur(18px) saturate(115%)!important;
    border-bottom:1px solid rgba(255,255,255,.055)!important;
    box-shadow:0 8px 24px rgba(0,0,0,.08)!important;
    margin-left:-22px!important;margin-right:-22px!important;
    padding-left:22px!important;padding-right:22px!important;
    isolation:isolate!important;
  }
  [data-theme="light"] .topbar{
    background:rgba(243,243,240,.97)!important;background-image:none!important;
    border-bottom-color:rgba(0,0,0,.055)!important;
    box-shadow:0 8px 22px rgba(20,24,32,.06)!important;
  }
}
@media (max-width: 620px){
  .topbar{
    margin-left:-16px!important;margin-right:-16px!important;
    padding-left:16px!important;padding-right:16px!important;
  }
}
