.models-page-hero{
  padding:64px 0 18px;
}

.models-page-head{
  max-width:760px;
  margin:auto;
  text-align:center;
}

.models-page-head h1{
  font-size:clamp(34px,5vw,52px);
  line-height:1.15;
  margin:0 0 14px;
}

.models-page-head p{
  margin:0;
  color:var(--muted);
  line-height:1.95;
  font-size:17px;
}

.models-page-section{
  padding-top:34px;
}

.models-mini-tabs{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:24px;
}

.models-mini-tab{
  padding:9px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
}

.models-mini-tab.is-active{
  background:var(--primary-soft);
  color:var(--primary);
  border-color:#dbeafe;
}

.models-page-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.models-tile{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:16px;
  box-shadow:var(--shadow-soft);
  transition:.2s ease;
}

.models-tile:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}

.models-tile-featured{
  border-color:#cfe0ff;
  box-shadow:0 16px 40px rgba(37,99,235,.10);
}

.models-tile-preview{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  aspect-ratio:1 / 1;
  margin-bottom:14px;
  display:flex;
  flex-direction:column;
}

.models-tile-top{
  display:flex;
  align-items:center;
  gap:6px;
  padding:11px 12px;
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.62);
}

.models-tile-top span{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#c5d4ee;
}

.models-tile-screen{
  flex:1;
  padding:16px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.models-tile-badge{
  display:inline-flex;
  width:max-content;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(255,255,255,.8);
  color:#334155;
  font-size:11px;
  font-weight:800;
}

.models-tile-title{
  font-size:21px;
  font-weight:800;
  line-height:1.3;
  color:#0f172a;
  margin:12px 0 10px;
}

.models-tile-lines{
  display:grid;
  gap:8px;
}

.models-tile-lines span{
  display:block;
  height:9px;
  border-radius:999px;
  background:rgba(148,163,184,.22);
}

.models-tile-lines span:nth-child(1){width:88%}
.models-tile-lines span:nth-child(2){width:72%}
.models-tile-lines span:nth-child(3){width:58%}

.models-tile-boxes{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
  margin-top:14px;
}

.models-tile-boxes div,
.models-tile-grid div{
  border-radius:14px;
  background:rgba(255,255,255,.66);
  border:1px solid rgba(231,237,245,.88);
}

.models-tile-boxes div{
  height:70px;
}

.models-tile-grid{
  display:grid;
  gap:10px;
  margin-top:16px;
}

.models-tile-grid.three{
  grid-template-columns:repeat(3,1fr);
}

.models-tile-grid.two{
  grid-template-columns:repeat(2,1fr);
}

.models-tile-grid div{
  height:78px;
}

.models-tile-list{
  display:grid;
  gap:10px;
  margin-top:16px;
}

.models-tile-list span{
  height:40px;
  border-radius:12px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(16,185,129,.12);
}

.models-tile-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.models-tag,
.models-type{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
}

.models-tag{
  background:var(--primary-soft);
  color:var(--primary);
}

.models-type{
  background:#f8fafc;
  color:var(--muted);
  border:1px solid var(--line);
}

.models-tile h3{
  font-size:22px;
  margin:0 0 8px;
  line-height:1.35;
}

.models-tile p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.85;
  font-size:14px;
  min-height:78px;
}

.models-points{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}

.models-points span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}

.models-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}

.models-actions .btn{
  width:100%;
  min-height:44px;
  font-size:13px;
}

.models-cta-box{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  padding:30px;
  background:linear-gradient(135deg,#ffffff,#f8fbff);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
}

.models-cta-copy{
  max-width:700px;
}

.models-cta-copy h2{
  font-size:clamp(28px,4vw,40px);
  margin:0 0 10px;
}

.models-cta-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.95;
}

.models-cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  min-width:fit-content;
}

@media (max-width:1000px){
  .models-page-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .models-cta-box{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width:760px){
  .models-page-hero{
    padding:42px 0 14px;
  }

  .models-page-head h1{
    font-size:36px;
  }

  .models-page-head p{
    font-size:15px;
  }

  .models-mini-tabs{
    gap:8px;
    margin-bottom:18px;
  }

  .models-mini-tab{
    padding:8px 12px;
    font-size:12px;
  }

  .models-page-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }

  .models-tile{
    padding:12px;
    border-radius:18px;
  }

  .models-tile-preview{
    border-radius:14px;
    margin-bottom:10px;
  }

  .models-tile-screen{
    padding:12px;
  }

  .models-tile-title{
    font-size:15px;
    margin:10px 0 8px;
  }

  .models-tile-head{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    margin-bottom:8px;
  }

  .models-tile h3{
    font-size:15px;
    margin-bottom:6px;
  }

  .models-tile p{
    font-size:12px;
    line-height:1.7;
    min-height:auto;
    margin-bottom:10px;
  }

  .models-points{
    gap:6px;
    margin-bottom:10px;
  }

  .models-points span{
    font-size:10px;
    padding:6px 8px;
  }

  .models-actions .btn{
    min-height:38px;
    font-size:12px;
    padding:0 10px;
  }

  .models-cta-actions{
    width:100%;
    flex-direction:column;
  }

  .models-cta-actions .btn{
    width:100%;
  }
}